kirby-typography icon indicating copy to clipboard operation
kirby-typography copied to clipboard

Issue with unwanted pull/push--doubleQuote

Open sylvainjule opened this issue 7 years ago • 0 comments

I have an issue that I don't seem to be able to resolve with config options only.

I have those two textareas, for example :

He was co-editor of the magazine ​*Name of magazine* and created ​*Name of creation*.

and

Editorial manager: Name
​Address: 75 Street City
Email: [email protected]

I have two languages. English (default) and french. And I only changed the hyphenation to falsein my config file. My issue :

First scenario : I don't change any config

The first textarea renders as :

He was co-editor of the magazine<em>Name of magazine<em> and created<em>Name of creation</em>.

and the second :

Editorial manager: Name<br>
​Address: 75 Street City<br>
Email: <a href="mailto:[email protected]">example@&#8203;example.&#8203;com</a>

So, the first text is missing its spaces before the <em> tags.

Second scenario : space.collapse set to false

With this option, the first text renders as it should :

He was co-editor of the magazine <em>Name of magazine<em> and created <em>Name of creation</em>.

But in the meantime, it introduced some doubleQuote after each <br> on the second text :

Editorial manager: Gauthier Roussilhe<br>
<span class="push--doubleQuote"></span>&#8203;<span class="pull--doubleQuote">
</span>Address: 75 Street City<br>
<span class="push--doubleQuote"></span>&#8203;<span class="pull--doubleQuote">
</span>Email: <a href="mailto:[email protected]">example@&#8203;example.&#8203;com</a>

What should I do ?

(you can see the code of the entire website here)

sylvainjule avatar Sep 15 '17 15:09 sylvainjule