Defect #37063

Code highlight adds trailing space after quotes

Added by Vitaly vit9696 5 months ago. Updated 5 months ago.

Status:ConfirmedStart date:
Priority:NormalDue date:
Assignee:-% Done:


Category:Text formatting
Target version:-
Resolution: Affected version:5.0.0


The following code:

<pre><code class="shell">

Generates the following HTML code:

<pre><code class="shell syntaxhl" data-language="shell"><span class="nv">test1</span><span class="o">=</span><span class="s2">"123"</span> 
<span class="nv">test2</span><span class="o">=</span><span class="s2">"456"</span> 

After both s2 spans at the end of the line an empty space character is generated, which is copyable from Safari 15.4. This bug is even reproducible here.


#1 Updated by Go MAEDA 5 months ago

  • Status changed from New to Confirmed

Also available in: Atom PDF