aboutsummaryrefslogtreecommitdiffstats
path: root/tests/check_content_parser.c
Commit message (Collapse)AuthorAgeFilesLines
* *: fixed includesRafael G. Martins2016-07-071-6/+1
| | | | | this refactoring was done with the help of the 'include-what-you-use' program. if this breaks the build for you, please report!
* content-parser: fixed testsRafael G. Martins2016-06-291-6/+6
|
* content-parser: added more line break testsRafael G. Martins2016-06-291-0/+8
|
* content-parser: rewrote inline parser.Rafael G. Martins2016-06-291-34/+128
| | | | parser is stricter now, and won't produce invalid HTML anymore.
* content-parser: encode HTML entities in DESCRIPTION variableRafael G. Martins2016-05-241-0/+3
|
* content-parser: fixed DESCRIPTION variable.Rafael G. Martins2016-05-231-5/+50
| | | | | | | | | it is now built as a single line variable, that contains the full unparsed content of the first paragraph found in the source file, instead of just the first line of it. this also fixes a bug that prevented creating of DESCRIPTION variable, if the source file contained only a single line paragraph.
* content-parser: do not use paragraphs inside blockquote for DESCRIPTIONRafael G. Martins2016-05-221-4/+4
|
* remove squareball for goodRafael G. Martins2016-04-271-1/+1
|
* content-parser: extract post description from contentRafael G. Martins2016-04-201-89/+323
| | | | | | | | | description is the first line of the first paragraph parsed from content file. users can override it declaring DESCRIPTION variable in source file itself. this also fixes a bug with line endings when using single line blockquotes.
* content-parser: do not convert -- and --- to &ndash and &mdash inside codeRafael G. Martins2016-04-171-0/+31
|
* content-parser: fixed em/en-dash logicRafael G. Martins2016-03-051-8/+8
|
* content-parser: fixed a bug in previous patchRafael G. Martins2016-03-051-4/+4
|
* content-parser: convert -- and --- to &ndash and &mdashRafael G. Martins2016-03-051-6/+26
|
* build: replace src/utils with squareballRafael G. Martins2016-02-261-1/+1
|
* man: tests: minor documentation fix and more test coverageRafael G. Martins2016-02-211-0/+9
|
* content-parser: added more testsRafael G. Martins2016-02-211-0/+15
|
* content-parser: added more testsRafael G. Martins2016-02-211-0/+12
|
* content-parser: fixed parser bug when handling linksRafael G. Martins2016-02-211-0/+12
| | | | | | do not handle something like this as a valid link: [asd] asd (asd)
* content-parser: fixed bug that parsed text with '!' + link as imageRafael G. Martins2016-02-131-0/+14
|
* content-parser: encode html entities found in code blocks (fixes #3)Rafael G. Martins2016-01-221-4/+16
|
* fixed copyrightRafael G. Martins2016-01-081-1/+1
|
* Revert "build: removing src/utils and replacing with squareball"Rafael G. Martins2015-12-231-1/+1
| | | | This reverts commit 950e6c9148eca244a89d18a21d4ae4e5c3d1c646.
* build: removing src/utils and replacing with squareballRafael G. Martins2015-12-231-1/+1
| | | | | squareball is a new general purpose library for C99, based on the code removed from src/utils
* content-parser: random parser fixesRafael G. Martins2015-11-041-4/+30
|
* Revert "content-parser: added basic rst-like directives support"Rafael G. Martins2015-11-041-616/+4
| | | | This reverts commit 1faa52052624e7c03256df0c63c43f5d40ddb57a.
* Revert "content-parser: fix memory leak in gcc"Rafael G. Martins2015-11-041-5/+3
| | | | This reverts commit 8c5ad9b304fd405380501f5acd1f7c809a1a2746.
* Revert "content-parser: allow directive params with variable prefix"Rafael G. Martins2015-11-041-42/+5
| | | | This reverts commit d29c85ef1751cb46c579b3292f676605d9f86951.
* content-parser: allow directive params with variable prefixRafael G. Martins2015-11-031-5/+42
|
* content-parser: fix memory leak in gccRafael G. Martins2015-11-021-3/+5
|
* content-parser: added basic rst-like directives supportRafael G. Martins2015-11-021-4/+616
| | | | | | | | | | | this patch adds support to something similar to reStructuredText directives [1]. the directive loader isn't implemented yet. also, the current implementation is stricter and differs a lot from the reStructuredText spec. documentation pending. this patch also fixes a few old parser bugs. [1] http://docutils.sourceforge.net/docs/ref/rst/directives.html
* content-parser: handle \r\n line endings properlyRafael G. Martins2015-10-221-2/+500
|
* content-parser: added missing testRafael G. Martins2015-10-121-1/+3
|
* content-parser: added id attributes to headersRafael G. Martins2015-10-121-17/+45
| | | | the id is a slugified version of the (unparsed) header content.
* content-parser: implemented multiline support for listsRafael G. Martins2015-08-131-7/+89
|
* content-parser: fixed start_state bug.Rafael G. Martins2015-07-091-2/+2
|
* content-parser: fixed bug when using inline delim in link titleRafael G. Martins2015-07-041-0/+8
|
* tests: test functions must be marked as staticRafael G. Martins2015-06-131-22/+22
|
* content-parser: implemented excerpt, and now for good!Rafael G. Martins2015-06-131-45/+165
|
* content-parser: added "automatic" linksRafael G. Martins2015-06-101-2/+33
|
* content-parser: fixed inline parserRafael G. Martins2015-05-291-4/+66
|
* content-parser: random fixes and more tests for inline content parserRafael G. Martins2015-05-271-0/+200
|
* content-parser: random fixes, more testsRafael G. Martins2015-05-271-0/+144
|
* fixed copyrightRafael G. Martins2015-05-251-1/+1
|
* content-parser: more testsRafael G. Martins2015-05-191-0/+126
|
* content-parser: fix and test horizontal rulesRafael G. Martins2015-05-181-0/+59
|
* content-parser: implemented line breaksRafael G. Martins2015-05-121-2/+2
|
* content-parser: more random stuffRafael G. Martins2015-05-071-91/+50
|
* content-parser: lots of random stuffRafael G. Martins2015-05-071-2/+8
|
* content-parser: actually use inline parserRafael G. Martins2015-05-061-1/+1
|
* content-parsed: started inline parserRafael G. Martins2015-05-061-2/+18
|