<table><tr><td style="">asemke added a comment.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D12767">View Revision</a></tr></table><br /><div><div><blockquote style="border-left: 3px solid #8C98B8;
color: #6B748C;
font-style: italic;
margin: 4px 0 12px 0;
padding: 8px 12px;
background-color: #F8F9FC;">
<div style="font-style: normal;
padding-bottom: 4px;">In <a href="https://phabricator.kde.org/D12767#260325" style="background-color: #e7e7e7;
border-color: #e7e7e7;
border-radius: 3px;
padding: 0 4px;
font-weight: bold;
color: black;text-decoration: none;">D12767#260325</a>, <a href="https://phabricator.kde.org/p/sirgienko/" style="
border-color: #f1f7ff;
color: #19558d;
background-color: #f1f7ff;
border: 1px solid transparent;
border-radius: 3px;
font-weight: bold;
padding: 0 4px;">@sirgienko</a> wrote:</div>
<div style="margin: 0;
padding: 0;
border: 0;
color: rgb(107, 116, 140);"><blockquote style="border-left: 3px solid #8C98B8;
color: #6B748C;
font-style: italic;
margin: 4px 0 12px 0;
padding: 8px 12px;
background-color: #F8F9FC;">
<div style="font-style: normal;
padding-bottom: 4px;">In <a href="https://phabricator.kde.org/D12767#260323" style="background-color: #e7e7e7;
border-color: #e7e7e7;
border-radius: 3px;
padding: 0 4px;
font-weight: bold;
color: black;text-decoration: none;">D12767#260323</a>, <a href="https://phabricator.kde.org/p/asemke/" style="
border-color: #f1f7ff;
color: #19558d;
background-color: #f1f7ff;
border: 1px solid transparent;
border-radius: 3px;
font-weight: bold;
padding: 0 4px;">@asemke</a> wrote:</div>
<div style="margin: 0;
padding: 0;
border: 0;
color: rgb(107, 116, 140);"><p>I'm not familiar with XQuery. Do you understand where those html-tags come from? Isn't it better to adjust the xls transformation file and to avoid the generation of these tags completely?</p></div>
</blockquote>
<p>Xm, I don't sure, that fully understand your question. Do you ask about <tt style="background: #ebebeb; font-size: 13px;">src/worksheet.cpp:952</tt>? XML don't keep '&', '<', '>' as '&', '<', '>' because, this is special symbols, using in tags, so XML keep they as '&', '<', '>'. And as i see, QDomText don't decode them to origin form (maybe bug), when is convertes to <tt style="background: #ebebeb; font-size: 13px;">QString</tt>, so we need do it by hands.</p></div>
</blockquote>
<p>Ok, I think this is not related to xls. I created now a maxima worksheet and did a simple matrix([1,2],[3,4]). The result xml content is</p>
<div class="remarkup-code-block" style="margin: 12px 0;" data-code-lang="text" data-sigil="remarkup-code-block"><pre class="remarkup-code" style="font: 11px/15px "Menlo", "Consolas", "Monaco", monospace; padding: 12px; margin: 0; background: rgba(71, 87, 120, 0.08);"><!DOCTYPE CantorWorksheet>
<Worksheet backend="Maxima">
<Expression>
<Command>matrix([1,2],[3,4])</Command>
<Result type="latex" filename="cantor_tex-SiCiCb.eps">\begin{eqnarray*}
\begin{pmatrix}1&2\\ 3&4\\ \end{pmatrix}
\end{eqnarray*}</Result>
</Expression>
<Expression>
<Command></Command>
</Expression>
</Worksheet></pre></div>
<p>Out of this Cantor generates without your fix</p>
<div class="remarkup-code-block" style="margin: 12px 0;" data-code-lang="text" data-sigil="remarkup-code-block"><pre class="remarkup-code" style="font: 11px/15px "Menlo", "Consolas", "Monaco", monospace; padding: 12px; margin: 0; background: rgba(71, 87, 120, 0.08);">\documentclass[a4paper,10pt,fleqn]{article}
\usepackage{fullpage}
\usepackage{graphicx}
\usepackage[utf8]{inputenc}
\usepackage{amsmath,amssymb}
\begin{document}
\begin{verbatim}
matrix([1,2],[3,4])
\end{verbatim}
\begin{eqnarray*} \begin{pmatrix}1&2\\ 3&4\\ \end{pmatrix} \end{eqnarray*}
\begin{verbatim}
\end{verbatim}
\end{document}</pre></div>
<p>Do you see where those &'s in the XML-content come from? They are not part of maxima output.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R55 Cantor</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D12767">https://phabricator.kde.org/D12767</a></div></div><br /><div><strong>To: </strong>sirgienko, Cantor, asemke<br /><strong>Cc: </strong>kde-edu, asemke, Cantor, narvaez, apol<br /></div>