1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-20 10:46:35 +01:00

Added some of missing html tags

This commit is contained in:
nowrep 2011-04-25 15:26:00 +02:00
parent c2f1d3dbe7
commit c72e589b64

View File

@ -85,6 +85,8 @@
<< "(<dl|</dl)" << "(<dt|</dt)" << "(<dd|</dd)" << "(<dl|</dl)" << "(<dt|</dt)" << "(<dd|</dd)"
<< "(<strong|</strong)" << "(<dt|</dt)" << "(<dd|</dd)" << "(<strong|</strong)" << "(<dt|</dt)" << "(<dd|</dd)"
<< "(<em|</em)" << "(<iframe|</iframe)" << "(<th|</th)" << "(<em|</em)" << "(<iframe|</iframe)" << "(<th|</th)"
<< "(<textarea|</textarea)" << "(<nav|</nav)" <<"(<section|</section)"
<< "(<fieldset|</fieldset)" << "(<footer|</footer)"
<< "(<ol|</ol)" << "(<small|</small)" << ">"; << "(<ol|</ol)" << "(<small|</small)" << ">";
foreach (const QString &pattern, keywordPatterns) { foreach (const QString &pattern, keywordPatterns) {
rule.pattern = QRegExp(pattern); rule.pattern = QRegExp(pattern);
@ -110,7 +112,8 @@
<< "cellspacing=\"" << "cellpadding=\"" << "clear=\"" << "cellspacing=\"" << "cellpadding=\"" << "clear=\""
<< "for=\"" << "tabindex=\"" << "selected=\"" << "for=\"" << "tabindex=\"" << "selected=\""
<< "frameborder=\"" << "marginwidth=\"" << "marginheight=\"" << "frameborder=\"" << "marginwidth=\"" << "marginheight=\""
<< "scrolling=\"" << "scrolling=\"" << "quality=\"" << "bgcolor=\""
<< "allowscriptaccess=\"" << "cols=\"" << "rows=\""
<< "href=\"" << "title=\"" << "xmlns=\""; << "href=\"" << "title=\"" << "xmlns=\"";
foreach (const QString &pattern, optionsPatterns) { foreach (const QString &pattern, optionsPatterns) {
rule.pattern = QRegExp(pattern); rule.pattern = QRegExp(pattern);