Repository navigation
fix: keep an inline <q> quotation in its sentence - #997
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #997 +/- ##
=======================================
Coverage 99.95% 99.95%
=======================================
Files 21 21
Lines 4207 4261 +54
=======================================
+ Hits 4205 4259 +54
Misses 2 2 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
Keeping the quotation inline is right, the added marks don't work well though: many sites already put marks around Could you drop them and just unwrap the element: |
|
Thanks, good point about the double marks and the language. Done: |
<q>was converted like<blockquote>, to a block-levelquote, so an inline quotation split its paragraph:<p>He said <q>hello there</q> loudly.</p>came out asHe said hello thereandloudly.in two paragraphs, and the quotation marks that browsers show were lost.<q>is now unwrapped inconvert_tags(), so the sentence stays in one piece in all output formats.<blockquote>and<pre>are unchanged, and the evaluation gate scores are the same. Added tests for a plain, a formatted and a nested quotation, and for marks the site already puts around the<q>.