Added the ability to generate paragraph markup. Turned off by default.

For each paragraph break ('\n\n' sequence) and when no incompatible elements 
exist in the scanned paragraph, <p> tags can be automatically inserted.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30991 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Quentin Mathe 2010-07-17 17:13:57 +00:00
parent ed30e20c20
commit b666cd6884
3 changed files with 126 additions and 3 deletions

View file

@ -810,6 +810,9 @@ main(int argc, char **argv, char **env)
@"MakeFrames",
@"\t\tString\t(nil)\n\tIf set, look for DTDs in the given directory",
@"DTDs",
@"\t\tBOOL\t(NO)\n\tif YES, wrap paragraphs delimited by \\n\\n in "
@"<p> tags when possible",
@"GenerateParagraphMarkup",
nil];
argSet = [NSSet setWithArray: [argsRecognized allKeys]];
argsGiven = [[NSProcessInfo processInfo] arguments];