summaryrefslogtreecommitdiffstats
path: root/doc/api
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2016-07-13 23:31:26 +0200
committerFlorian Pritz <bluewind@xinu.at>2016-07-13 23:47:27 +0200
commit8518e4cedcfcb2a5c46c244d28a48208f91be561 (patch)
tree906e859beaeddcc33ab6c3f5225e9985561375b4 /doc/api
parenta3c396a1d059e139492ff25d2aee798626e35b2e (diff)
Fix missing empty lines in chromium when copying code
Chromium apparently requires a <br> or some text to be present for a line to be copied to the clipboard. Firefox interprets the \n at the end as line break and copies that if there is no content. Adding an explicit <br> makes chromium work correctly, but firefox still converts the \n. Fix this by putting the \n in an HTML comment. That way the output is still somewhat readable, but both browsers do the correct thing. Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'doc/api')
0 files changed, 0 insertions, 0 deletions