> is there a comfortable way to remove this default HTML overhead from > the > returns of QTextEdits text() function? > I want to get the HTML which the user generates in the QTextEdit, > but I > don't want the pre- and suffix > "<html><head><style ... </html>"
Hi, I don't know of a default way to strip some HTML and keep the rest, no. The easiest is probably to match it to a regular expression and extract the middle content, or just parse it away with some string magic. best regards, Gunnar _______________________________________________ Qt-jambi-interest mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest
