fixed highlighted styled built in schema tags to properly increate from hlt1 to hlt10

This commit is contained in:
kimchy 2010-07-21 20:38:13 +03:00
parent 8ec7ee66a9
commit 2432a7cb5b
1 changed files with 4 additions and 4 deletions

View File

@ -51,10 +51,10 @@ public class HighlighterParseElement implements SearchParseElement {
private static final String[] DEFAULT_POST_TAGS = new String[]{"</em>"}; private static final String[] DEFAULT_POST_TAGS = new String[]{"</em>"};
private static final String[] STYLED_PRE_TAG = { private static final String[] STYLED_PRE_TAG = {
"<em class=\"hlt1\">", "<em class=\"hlt2\">", "<em class=\"hlt2\">", "<em class=\"hlt1\">", "<em class=\"hlt2\">", "<em class=\"hlt3\">",
"<em class=\"hlt3\">", "<em class=\"hlt4\">", "<em class=\"hlt5\">", "<em class=\"hlt4\">", "<em class=\"hlt5\">", "<em class=\"hlt6\">",
"<em class=\"hlt6\">", "<em class=\"hlt7\">", "<em class=\"hlt8\">", "<em class=\"hlt7\">", "<em class=\"hlt8\">", "<em class=\"hlt9\">",
"<em class=\"hlt9\">" "<em class=\"hlt10\">"
}; };
public static final String[] STYLED_POST_TAGS = {"</em>"}; public static final String[] STYLED_POST_TAGS = {"</em>"};