summaryrefslogtreecommitdiffstats
path: root/parsers/ParserList.java
diff options
context:
space:
mode:
authorrsiddharth <rsiddharth@ninthfloor.org>2012-11-11 19:09:17 +0530
committerrsiddharth <rsiddharth@ninthfloor.org>2012-11-11 19:09:17 +0530
commit9e0a6a78616ab9ede6830c078245a195791e5ee4 (patch)
treebb85a02ed606ca2475392a5b77ff887b6f06cda3 /parsers/ParserList.java
parentab443161eaa4cb631423884972108785ce764269 (diff)
new feature: special text (symbols) are quoted to HTML number inside a
code-block modified: parsers/CodeBlocks.java (new class 'SymbolMap' which has a list of symbols & their corresponding HTML number) ( quote() in 'CodeBlock' class uses the SymbolMap to quote text) parsers/ParserList.java (list re-ordered, CodeBlock has gone up) parsers/QuoteSpecialText.java ( if regex matches '&#35;', it leaves the text un-quoted)
Diffstat (limited to 'parsers/ParserList.java')
-rw-r--r--parsers/ParserList.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/parsers/ParserList.java b/parsers/ParserList.java
index 999dadc..685de25 100644
--- a/parsers/ParserList.java
+++ b/parsers/ParserList.java
@@ -30,9 +30,9 @@ public class ParserList {
// add Parsers. NOTE: parser order is significant.
parsers.add(new QuoteSpecialText());
parsers.add(new DocumentName());
+ parsers.add(new CodeBlocks());
parsers.add(new DocumentDate());
parsers.add(new WordDecoration());
- parsers.add(new CodeBlocks());
parsers.add(new Headings());
parsers.add(new Links());
parsers.add(new Images());