summaryrefslogtreecommitdiffstats
path: root/parsers/BackButton.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/BackButton.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/BackButton.java')
-rw-r--r--parsers/BackButton.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/parsers/BackButton.java b/parsers/BackButton.java
index e20b640..8bf645f 100644
--- a/parsers/BackButton.java
+++ b/parsers/BackButton.java
@@ -15,7 +15,7 @@ public class BackButton implements Parser {
button.append("./\"> back ");
}
button.append("</a>\n");
- button.append("</div>");
+ button.append("</div>\n");
PresentFile.backButton = button.toString();
return fileContent;
}