edit-text icon indicating copy to clipboard operation
edit-text copied to clipboard

Newline literal at the end of a <pre> block is hidden (unless a caret is placed there)

Open tcr opened this issue 7 years ago • 1 comments

image

tcr avatar May 18 '18 04:05 tcr

This can be solved by adding a zero-width joiner to the end of a pre element. Easiest way to do this from CSS:

[data-tag="pre"]::after {
    content: '\200C' !important
}

tcr avatar Dec 19 '18 19:12 tcr