Closed artragis closed 1 year ago
Another one is when the << >> elements are inside a list element.
Also for the <<méta données>>
part (i.e. when characters are correctly replaced), inner non-breaking spaces (U+00A0) are not inserted; I think they should be, so to respect French typography.
I recently investigated this problem, which was more complicated than I expected, and am left with the following:
<< [content] >>
, with spaces inside, that will be replaced by NBSP. It would solve the issue in the following way: <<méta données>>
will give the same result as <<contenu>>
: no french quotes.good to me. The issue was coming from inconsistancy, so it would solve it.
Okay, finally we should be able to solve it correctly. I found one of our plugins, remark-fix-guillemets
, which already does what we want. It was certainly forgotten during one of the refactorings. I included it in my PR for ZMarkdown 11.2. The problem reported by @AmauryCarrade about adding NBSP was also solved by a simple fix to the plugin.
Here is the sentence :
Here is the result :
the "contenu" part is not properly translated. It is translated if we put a blanck space between
<<
andc
.It is expected not to have to put this extra space.