summaryrefslogtreecommitdiffstats
path: root/parsers/Paragraphs.java
Commit message (Collapse)AuthorAgeFilesLines
* add some code for debugging + TODO update.rsiddharth2014-07-171-1/+2
|
* now, scruf does'nt wrap <p> around text inside HTML blocks in scruffy markup ↵rsiddharth2013-11-151-22/+12
| | | | | | file. With this, I guess, HTML can be written in scruffy marked up files.
* updated the year in the Copyright block in all source files.rsiddharth2013-11-021-2/+1
| | | | used license/Liberate.java to do the job. automation rocks.
* added:rsiddharth2012-10-261-1/+0
| | | | | | parsers/DocumentDate.java modified: parsers/Paragraphs.java
* modified:rsiddharth2012-10-261-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | index/IndexCreator.java Structural modification. parsers/CodeBlocks.java replacement string was edited. @@ -33,7 +33,7 @@ - replacement.append("<div class=\\\"code\\\">"); + replacement.append("<div class=\"code\">"); parsers/DocumentName.java Structural modification. parsers/Header.java "powered by scruf" was linked. parsers/Paragraphs.java Display message. (should remove it in next commit). parsers/ParserList.java New parser -- DocumentDate parsers/WordDecoration.java replacement string was edited. @@ -34,7 +34,7 @@ - tagMap.put("`","<span class=\\\"monospace\\\">$7</span>"); + tagMap.put("`","<span class=\"monospace\">$7</span>"); unknown: parsers/DocumentDate.java (will add it in next commit)
* removed:rsiddharth2012-10-251-1/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | notes writefile added: COPYING -- gpl text (full) modified: Initialization.java Scruf.java conversion/CanConvert.java conversion/ConvertDirectory.java conversion/ConvertFile.java conversion/FileSieve.java index/IndexCreator.java io/PresentFile.java io/ReadFile.java io/WriteFile.java license/Liberate.java parsers/BackButton.java parsers/CodeBlocks.java parsers/DocumentName.java parsers/Footer.java parsers/Header.java parsers/Headings.java parsers/Images.java parsers/LineBreak.java parsers/Links.java parsers/NullIt.java parsers/Paragraphs.java parsers/ParserList.java parsers/WordDecoration.java styling/StyleChecker.java >> All the .java files were 'baptized' for 100% software freedom. todo -- minor edit. license/gpl -- minor edit again.
* modified:rsiddharth2012-10-251-1/+1
| | | | | parsers/CodeBlocks.java parsers/Paragraphs.java
* Modified parsers/Paragraphs.java & styling/style.cssrsiddharth2012-08-041-4/+6
|
* parsers/BackButton.javarsiddharth2012-06-271-13/+29
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * Paragraphs.java changedrsiddharth2012-06-271-4/+7
|/
* conversion/FileSieve.java: modified the regex to ignore backup file (#*#).rsiddharth2012-06-261-8/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | parsers/Footer.java: Aesthetic modification. parsers/Header.java: add "meta" tags for the html output, mainly for compliance sake. I have also re-arranged the html tags a bit -- the "back button" is now the last thing in the <article> block. parsers/Images.java (bug-fix): The regex had small precisely deducting images, so the regex was slightly modified to make all work properly. There was another significant change made to the way the image tag is created -- "alt" is mandatory now, even if the markup doesn't give a "alt" for the <img> tag, a default "alt" is created -- the image-file-name. parsers/Links.java: From now on, the links generated will not have 'target="_blank"`, I felt that the reader must choose whether to open the link in a new window/tab, so the change. Period. In the last revision, link description was made optional in the link mark-up, the regex was slightly erroneous, I rectified it. parsers/Paragraphs.java: As of this revision, the <p> generation is still rough around the edges, I need to smoothen it in future revisions. parsers/ParserList.java: Order of parser list was modified -- now, Paragraphs comes before Headings, it was the reverse before.
* scruf is "bzr"ed now.rsiddharth2012-06-231-0/+19