Remarkable icon indicating copy to clipboard operation
Remarkable copied to clipboard

Exporting to HTML: Line breaks after code and link tags.

Open mbloms opened this issue 8 years ago • 0 comments

This:

`System.out` is of type `java.io.PrintStream`. How to generate this particular sequence of instructions is shown in [this example](https://github.com/psuter/cafebabe/wiki/FullExamples#hello-world) on the Cafebabe wiki. 

is exported as this:

   <code>
    System.out
   </code>
   is of type
   <code>
    java.io.PrintStream
   </code>
   . How to generate this particular sequence of instructions is shown in
   <a href="https://github.com/psuter/cafebabe/wiki/FullExamples#hello-world">
    this example
   </a>
   on the Cafebabe wiki.

When clicking Export HTML (Plain). When I open this in my browser and when posting it on a blog-like site; All linkes and code blocks have an extra space at the end because of the line break.

I get a different result when clicking "Copy selection To HTML:

<p><code>System.out</code> is of type <code>java.io.PrintStream</code>. How to generate this particular sequence of instructions is shown in <a href="https://github.com/psuter/cafebabe/wiki/FullExamples#hello-world">this example</a> on the Cafebabe wiki. </p>

mbloms avatar Nov 12 '17 14:11 mbloms