<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>List,</p>
<p>Another oddity with <break/> elements in XML / xhtml / html
export:<br>
<br>
With a defined highlight, a break is inserted if the highlight is
the first item in an environment. If it is not the first item in
the environment, no break is inserted.<br>
<br>
Most of the other odd breaks can be dealt with in css. These are
more difficult to tame -- for example, in the startlines
environment in the example below, there is not enough information
preserved to know if the tagged item is supposed to be a single
line or not.</p>
<p>(Tests using 2018-07-17 beta on Win64.)</p>
<p>Has anyone dealt with this before? Is there a way to control the
insertion of the breaks?<br>
</p>
<p>MWE:</p>
<blockquote>
<pre>\setupbackend [export=yes]
\definehighlight [emIt]
[style=italic]
\starttext
\startparagraph
{\emIt Taa} aaaaaaaaaaa aa aaaaaaaaa aaaaaa aaa aaaaaaaa aa aaaaaaaaaa
aaaaaa. Taa aaaaaaaa aaaaa, aaaaa aaaaaaaa aa aaaaa aaaa aaaaa.
\stopparagraph
\startparagraph
Taa {\emIt aaaaaaaaaaa} aa aaaaaaaaa aaaaaa aaa aaaaaaaa aa aaaaaaaaaa
aaaaaa. Taa aaaaaaaa aaaaa, aaaaa aaaaaaaa aa aaaaa aaaa aaaaa.
\stopparagraph
\startlines
{\emIt Xyz} abcdefg
Xyz {\emIt abcdefg}
\stoplines
\stoptext
</pre>
</blockquote>
<p>XML output snip:</p>
<blockquote>
<pre><document context="2018.07.17 17:25" date="2018-07-17T22:41:25+20:00" file="xxx" language="en" version="0.35" xmlns:m=<a class="moz-txt-link-rfc2396E" href="http://www.w3.org/1998/Math/MathML">"http://www.w3.org/1998/Math/MathML"</a>>
<metadata>
</metadata>
<paragraph><highlight detail="emIt">Taa</highlight> <break/>
aaaaaaaaaaa aa aaaaaaaaa aaaaaa aaa aaaaaaaa aa aaaaaaaaaa aaaaaa. Taa aaaaaaaa aaaaa, aaaaa aaaaaaaa aa aaaaa aaaa aaaaa.</paragraph>
<paragraph>Taa <highlight detail="emIt">aaaaaaaaaaa</highlight> aa aaaaaaaaa aaaaaa aaa aaaaaaaa aa aaaaaaaaaa aaaaaa. Taa aaaaaaaa aaaaa, aaaaa aaaaaaaa aa aaaaa aaaa aaaaa.</paragraph>
<lines detail="lines" chain="lines">
<line><highlight detail="emIt">Xyz</highlight> <break/>
abcdefg</line>
<line>Xyz <highlight detail="emIt">abcdefg</highlight></line>
</lines>
</document>
</pre>
</blockquote>
<p>Rendered in Firefox:</p>
<blockquote>
<p><img src="cid:part1.46A388F9.77407C01@rik.users.panix.com"
alt="" height="283" width="634"></p>
</blockquote>
<p>-- <br>
Rik<br>
</p>
</body>
</html>