octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #45396] NEWS displayed in Qt GUI omits items w


From: Oliver Heimlich
Subject: [Octave-bug-tracker] [bug #45396] NEWS displayed in Qt GUI omits items which look like HTML
Date: Wed, 24 Jun 2015 20:44:01 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Firefox/31.0 Iceweasel/31.7.0

Follow-up Comment #14, bug #45396 (project octave):

Dan, the idea was to use <pre><![CDATA[…the original NEWS goes
here…]]></pre>. However, your first example demonstrates that the HTML
parser of Qt is not capable of CDATA :-/

Using <script> in the second example marks the whole text as JavaScript and
therefore displays nothing.

For the Qt GUI I would use QTextEdit in readOnly mode, because you want to
display a TEXT file without HTML markup.

On the web, where we explicitly have a .html file, I would use the pre+CDATA
markup (plus html header, body and such).

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?45396>

_______________________________________________
  Nachricht gesendet von/durch Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]