etherpad-plugins icon indicating copy to clipboard operation
etherpad-plugins copied to clipboard

Line breaks disappear with style Code

Open eviltel opened this issue 12 years ago • 1 comments

Used versions

  • headings 0.1.6
  • etherpad-lite 1.3.0
  • Debian Wheezy (7.2) with abiword 2.9.2

Problem

You use the style Code from headings for a code block in your pad, for ex.:

print "Hello";
print "you!";
return 0;

If you want to export this pad to html, pdf and so on the linebreaks in the code block disappear. This looks like:

print "Hello"; print "you!"; return 0;

eviltel avatar Oct 27 '13 16:10 eviltel

This is fine on ep_headings2, @eviltel I think this is probably fine for you now too.

JohnMcLear avatar Dec 28 '14 17:12 JohnMcLear