AgeCommit message (Collapse)AuthorFiles
2015-07-07Handle ambiguities between italic and bold markers, add more tests.Sergey Poznyakoff19
* (tokenize): Handle the three possible ambiguities in placing italic and bold markers. Redefine unresolved markers as text. * Add new tests. * testdata/ Rewrite. * testdata/ Rewrite. * testdata/ Rewrite. * testdata/ Remove. * testdata/ Remove, * testdata/bold.html: New file. * testdata/boldit0.html: New file. * testdata/boldit1.html: New file. * testdata/boldit3.html: New file. * testdata/it.html: New file. * testdata/itbold1.html: New file. * testdata/ New file. * testdata/itbold2.html: New file. * testdata/ New file. * testdata/itbold3.html: New file. * testdata/ New file. * testdata/para.html: New file.
2015-07-06Handle <tags> and implicit preformatted blocksSergey Poznyakoff3
Among <tags>, this commit handles <nowiki> and <code>. General tag handling mechanism is provided. * (otag, ctag, close_delim): New variables. (BaseWikiMarkup)<newline,nested>: New attributes. (otag, ctag, close_delim): New variables. (newline,nested>: New attributes. (input_tag): New abstract method. (tokread): Remove calls to dprint, now done by the callers. Handle xml-style tags. (getkn,ungetkn): Set newline. (inline_delims): Add '|' (parse_para): Decide whether it is going to be a PRE or PARA. Don't mix the two. Fix recovery in case of unmatched/incorrect inline constructs. (parse): eliminate initial PARA, if called as a nested instance. (WikiMarkup): Remove parse method. Rely on the parent class. * (input_tag, str_tag, str_pre): New methods. (format): Handle PRE and TAG tokens * Similar changes. Needs some more work.
2015-07-06Redo parse tree as a sequence of dictionaries, instead of arrays.Sergey Poznyakoff3
2015-07-05Remove unused constantsSergey Poznyakoff1
2015-07-05Fix most testcases.Sergey Poznyakoff11
* (envtypes): Redo as a dictionary. (ELT): New item type (BaseWikiMarkup): Fix list parsing. (parse): Comment out changes introduced by 9c42879. Must be rewritten. * (HtmlWikiMarkup): Change handling of lists. * Likewise. * testdata/ New testcase. * testdata/deflist.html: Likewise. * testdata/colon.html: Update. * testdata/headings.html: Update. * testdata/hz.html: Update. * testdata/numlist.html: Update. * testdata/unlist.html: Update.
2009-03-07Another buch of dirty kludgesSergey Poznyakoff3
2009-03-07Minor fixesSergey Poznyakoff1
2009-03-07Remove disambiguiations and graphics. Remove everything before the first ↵Sergey Poznyakoff2
header and any traling language links
2009-03-05Lots of formatting kludgesSergey Poznyakoff2
2009-03-05Avoid losing newlines while parsing the input stream. Provide some ↵Sergey Poznyakoff3
rudimentary parsing for wiktionary templates
2009-03-03Fix parsing of nested bold/it markupsSergey Poznyakoff1
2009-03-03Add two new testcases (both fail)Sergey Poznyakoff2
2009-03-03Quick & dirty fixSergey Poznyakoff2
2009-03-03Implement conversion to HTMLSergey Poznyakoff3
2009-03-03Merge fmtelt with formatSergey Poznyakoff1
2009-03-03Fix it/bold parsing + minor bugfixesSergey Poznyakoff2
2009-03-03Fix parsing of listsSergey Poznyakoff2
2009-03-02Rewrite from scratch. Text conversion almost(TM) worksSergey Poznyakoff13
2008-12-19* New file.Wojciech Polak1
2008-11-29Image rendering change.Wojciech Polak1
2008-11-29BugfixWojciech Polak1
2008-11-29Remove images from text output, unless references is trueSergey Poznyakoff1
2008-11-29Improve text output generationSergey Poznyakoff3
* (mktgt): Add 3rd argument. All callers updated. * (wiki_ns_name,mktgt): New functions (str_link,str_tmpl): Rewrite * New argument --input-text (not used yet)
2008-11-29Handle links inside link textsSergey Poznyakoff1
2008-11-29Add slash to html_base explicitely.Wojciech Polak2
2008-11-27Minor changes.Sergey Poznyakoff2
* The constructor keyword argument markup allows to inhibit any markup * New command line option -o (--option). Admit - as input file name.
2008-11-27* Fix broken continuation after bold and it.Sergey Poznyakoff2
2008-11-26Minor fixSergey Poznyakoff1
2008-11-26Merge branch 'master' of ssh:// Poznyakoff1
2008-11-26Fix HTML generation.Sergey Poznyakoff5
* New file (automatically generated.) * build-aux/extrns.php: New file (generator for the above). * (HtmlWikiMarkup.image_kw, target): Remove (wiki_ns_name,link,mktgt): New methods. (str_link,str_tmpl): Rewrite using *, (__init__): Fix handling of multiple keywords.
2008-11-26Update fileWojciech Polak1
2008-11-26Implement paragraphsSergey Poznyakoff3
2008-11-26Implement plain text conversion.Sergey Poznyakoff6
* (HtmlWikiMarkup): Move lang, html_base, image_base, media_base, langtab, str_nil, str_text, fmtok, __str__ to WikiMarkup * See above. * Remove. * New file (instead of the above) * Implement new options.
2008-11-26Initial commitSergey Poznyakoff21

Return to:

Send suggestions and report system problems to the System administrator.