Please nominate your Qt Champions for 2021! https://forum.qt.io/topic/132134/looking-for-the-2021-qt-champions

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