added: a new editor: tinymce (function tinymce)

added: html filter can check orphans: "i", "a", "o" ... in a text


git-svn-id: svn://ttmath.org/publicrep/winix/trunk@607 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
2010-06-20 22:47:24 +00:00
parent fe31e0e849
commit ff3c141138
16 changed files with 671 additions and 168 deletions

View File

@@ -483,8 +483,9 @@ void Request::SendPage(bool compressing, const std::string & source_ref)
if( data.html_filter && !raw )
{
html_filter.TrimWhite(true);
html_filter.BreakLongLines(true);
html_filter.BreakLines(60);
html_filter.InsertTabs(2);
html_filter.CheckOrphans(HTMLFilter::lang_pl, HTMLFilter::orphan_nbspace);
html_filter.Filter(*source, clean_html);
source = &clean_html;