diff options
author | rsiddharth <rsiddharth@ninthfloor.org> | 2012-06-27 15:49:54 +0530 |
---|---|---|
committer | rsiddharth <rsiddharth@ninthfloor.org> | 2012-06-27 15:49:54 +0530 |
commit | 79607a197fb62161f1b21faa837335c41cbf6e2e (patch) | |
tree | 353881a249f8b76c63f37c34a7bf52c026b45041 /parsers/Header.java | |
parent | 726314a77a2138f8d6bca200af9972e006f43311 (diff) | |
parent | 808b83282c7e18d831f0be85cfae84d707a53956 (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/Header.java')
-rw-r--r-- | parsers/Header.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/parsers/Header.java b/parsers/Header.java index 946613a..10fed98 100644 --- a/parsers/Header.java +++ b/parsers/Header.java @@ -33,9 +33,9 @@ public class Header implements Parser { sbuilder.append(PresentFile.backButton); sbuilder.append("</article>\n"); // add "powered by scruf" at bottom of page. - sbuilder.append("<div class=\"scruf\">\n"); + sbuilder.append("\n<div class=\"scruf\">\n"); sbuilder.append("powered by scruf"); - sbuilder.append("</div>"); + sbuilder.append("\n</div>\n"); // Close body tag sbuilder.append("\n</body>\n"); sbuilder.append("</html>\n"); |