On 6 October 2015 at 03:43, Quinn Grier <[email protected]> wrote:
> In this case, maybe it's best to just document this behavior in the
> manual. For what it's worth, I ran into this when playing with some
> formatting and was surprised to find some words adjoined in the HTML
> output. This was inconsistent with the TeX raw region and I couldn't
> find anything about it in the manual, so I reported it here.

So here's another thing to consider. Whether the final word of an
@html block is adjoined to the following word also depends on what
came *before* the @html block:

@html
foo
@end html
bar

bas
@html
foo
@end html
bar

This produces:

foo<p>bar
</p>
<p>bas
foobar
</p>

In the first example, the "bar" line starts a paragraph, in the second
example, it is already inside a paragraph, so doesn't.

Reply via email to