en.javascript.info icon indicating copy to clipboard operation
en.javascript.info copied to clipboard

Update character display?

Open danipoma opened this issue 2 years ago • 2 comments

Didn't investigate, but so far as I can see there are some character sequences that are being transformed by server into correct characters like these: character sequence '-' will stay hyphen ('-') or gets converted to bullet point character sequence '--' will be displayed as dash '–' (U+2013).

I see that character sequence (three dots) '...' is not converted to ellipsis '…' (U+2026).

Is there a way to do introduce this transform?

danipoma avatar Apr 29 '22 21:04 danipoma

Looks like that markdown does transform three dots into ellipsis, however only if it is within plain text and not within special blocks like code blocks. That is wanted as we wouldn't want to transform code examples into invalid code. Closing as irrelevant. If we would really want to make it work out, we would have to manually replace those characters.

danipoma avatar Apr 30 '22 14:04 danipoma

Reopened since it is still an issue, just in case someone would be willing to manually replace all parts that can't be evaluated by markdown with respective entities - mostly -- with – and ... with …

danipoma avatar Apr 30 '22 15:04 danipoma