summaryrefslogtreecommitdiffstats
path: root/parsers/ParserList.java
diff options
context:
space:
mode:
authorrsiddharth <rsiddharth@ninthfloor.org>2012-06-27 15:49:54 +0530
committerrsiddharth <rsiddharth@ninthfloor.org>2012-06-27 15:49:54 +0530
commit79607a197fb62161f1b21faa837335c41cbf6e2e (patch)
tree353881a249f8b76c63f37c34a7bf52c026b45041 /parsers/ParserList.java
parent726314a77a2138f8d6bca200af9972e006f43311 (diff)
parent808b83282c7e18d831f0be85cfae84d707a53956 (diff)
parsers/BackButton.java
parsers/Footer.java parsers/Header.java: all the three file underwent a cosmetic edit. parsers/Paragraphs.java: Now I have found a pretty good way of properly deducting paragraphs, to realize this I have an extra regex to specificly deduct whether the "block" deducted by the "paragraph Matcher" is a "html block", if it is, then nothing is done to it, if it is not, then it means that the "block" is necessarily a paragraph. With this revision, it is apparently true that the html files generated by scruf is HTML5 compatible. parsers/ParserList.java: The List is re-ordered again. Now, Headings is parsed before Paragraphs.
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 f5c1ebf..aff198d 100644
--- a/parsers/ParserList.java
+++ b/parsers/ParserList.java
@@ -10,8 +10,8 @@ public class ParserList {
parsers.add(new DocumentName());
parsers.add(new WordDecoration());
parsers.add(new CodeBlocks());
- parsers.add(new Paragraphs());
parsers.add(new Headings());
+ parsers.add(new Paragraphs());
parsers.add(new Links());
parsers.add(new Images());
parsers.add(new Footer());