Encoding QDomText for "\n"

  • @void QDomTextPrivate::save(QTextStream& s, int, int) const
    QDomTextPrivate that = const_cast<QDomTextPrivate>(this);
    s << encodeText(value, s, !(that->parent() && that->parent()->isElement()), false, true);

    Like result is "\n" not encoded for QDomText (because performAVN = false). It is correct?
    And why for encodeEOLs = true only "\r" is encoded?

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.