New posts save broken quote after latest update

Posted in: Newspaper
Post count: 2

Hi tagDiv support,

After updating Newspaper (and/or its related plugins), new posts created after the update save blockquote/quote HTML with backslashed attribute quotes, which breaks the markup and styling.

Example (from WordPress code editor)

…<div class=\”quotesourcebox\”>…</div>

Expected:

…<div class=”quotesourcebox”>…</div>

Notes
This affects only posts created after the latest update; older posts are fine.
The problem appears to be double-escaping during editor save/serialization (Gutenberg / quote styling / quoteStyle/className handling).
On the frontend, the malformed class=\”…\” causes CSS selectors like .td_quote_box to fail.
Request
Could you please confirm:

which component is responsible (theme vs td-composer/td-standard-pack), and
provide a patch / hotfix so quotes are stored with proper attributes (class=”…”) without backslashes?
If you need more info I can provide:

WordPress version, PHP version, Newspaper version, and td-composer version
A full post content export showing the stored HTML
Thanks.

Post count: 20688

Hi,

I’m testing all the blockquote styles from the theme, with the classic editor https://prnt.sc/KkFqdJqC7Qon and they seem to display correctly -> https://prnt.sc/hWZP4YIsZq1v And with the block editor https://prnt.sc/nhHD17_Ri7Vg -> https://prnt.sc/3BCjRG87R3Px

Maybe I’m testing incorrectly. Could you provide an example of how you are doing it and what style of quotes are you using? If you want to share the information here, we can continue by email, you can contact us at contact@tagdiv.com

Thank you!

Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘Newspaper’ is closed to new topics and replies.