aboutsummaryrefslogtreecommitdiffstats
path: root/src/content-parser.c
Commit message (Collapse)AuthorAgeFilesLines
* content-parser: encode HTML entities in DESCRIPTION variableRafael G. Martins2016-05-241-1/+1
|
* content-parser: fixed DESCRIPTION variable.Rafael G. Martins2016-05-231-2/+43
| | | | | | | | | 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-1/+4
|
* remove squareball for goodRafael G. Martins2016-04-271-1/+1
|
* content-parser: extract post description from contentRafael G. Martins2016-04-201-9/+7
| | | | | | | | | 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-1/+3
|
* content-parser: fixed em/en-dash logicRafael G. Martins2016-03-051-2/+2
|
* content-parser: fixed a bug in previous patchRafael G. Martins2016-03-051-0/+3
|
* content-parser: convert -- and --- to &ndash and &mdashRafael G. Martins2016-03-051-0/+15
|
* build: replace src/utils with squareballRafael G. Martins2016-02-261-138/+138
|
* content-parser: fixed parser bug when handling linksRafael G. Martins2016-02-211-2/+11
| | | | | | 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-4/+8
|
* content-parser: removed goto jumpsRafael G. Martins2016-01-311-18/+7
|
* content-parser: use size_t instead of unsigned len when handling stringsRafael G. Martins2016-01-221-2/+2
|
* content-parser: encode html entities found in code blocks (fixes #3)Rafael G. Martins2016-01-221-2/+38
|
* fixed copyrightRafael G. Martins2016-01-081-1/+1
|
* Revert "build: removing src/utils and replacing with squareball"Rafael G. Martins2015-12-231-126/+126
| | | | This reverts commit 950e6c9148eca244a89d18a21d4ae4e5c3d1c646.
* build: removing src/utils and replacing with squareballRafael G. Martins2015-12-231-126/+126
| | | | | 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-0/+18
|
* Revert "content-parser: added basic rst-like directives support"Rafael G. Martins2015-11-041-227/+19
| | | | This reverts commit 1faa52052624e7c03256df0c63c43f5d40ddb57a.
* Revert "content-parser: fix memory leak in gcc"Rafael G. Martins2015-11-041-1/+1
| | | | This reverts commit 8c5ad9b304fd405380501f5acd1f7c809a1a2746.
* Revert "content-parser: allow directive params with variable prefix"Rafael G. Martins2015-11-041-28/+19
| | | | This reverts commit d29c85ef1751cb46c579b3292f676605d9f86951.
* Revert "content-parser: handle errors (that are handler as warnings) in ↵Rafael G. Martins2015-11-041-4/+1
| | | | | | directives" This reverts commit 56736b7b39218c10efd64f305f7a35df9d4bc0af.
* content-parser: handle errors (that are handler as warnings) in directivesRafael G. Martins2015-11-041-1/+4
|
* content-parser: allow directive params with variable prefixRafael G. Martins2015-11-031-19/+28
|
* content-parser: fix memory leak in gccRafael G. Martins2015-11-021-1/+1
|
* content-parser: added basic rst-like directives supportRafael G. Martins2015-11-021-19/+227
| | | | | | | | | | | 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: fix commentRafael G. Martins2015-10-221-1/+1
|
* content-parser: replace useless array with booleanRafael G. Martins2015-10-221-6/+5
|
* content-parser: handle \r\n line endings properlyRafael G. Martins2015-10-221-31/+79
|
* content-parser: added id attributes to headersRafael G. Martins2015-10-121-2/+30
| | | | the id is a slugified version of the (unparsed) header content.
* content-parser: removed some uneeded codeRafael G. Martins2015-09-151-14/+0
|
* content-parser: implemented multiline support for listsRafael G. Martins2015-08-131-44/+126
|
* 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-7/+7
|
* content-parser: implemented excerpt, and now for good!Rafael G. Martins2015-06-131-2/+39
|
* content-parser: added "automatic" linksRafael G. Martins2015-06-101-15/+29
|
* content-parser: fixed inline parserRafael G. Martins2015-05-291-31/+61
|
* content-parser: random fixes and more tests for inline content parserRafael G. Martins2015-05-271-2/+7
|
* content-parser: random fixes, more testsRafael G. Martins2015-05-271-13/+26
|
* fixed copyrightRafael G. Martins2015-05-251-1/+1
|
* content-parser: fix and test horizontal rulesRafael G. Martins2015-05-181-1/+4
|
* content-parser: implemented line breaksRafael G. Martins2015-05-121-4/+23
|
* fixed a few issues reported by clang's static analyzerRafael G. Martins2015-05-101-1/+1
|
* content-parser: more random stuffRafael G. Martins2015-05-071-106/+73
|
* content-parser: lots of random stuffRafael G. Martins2015-05-071-93/+104
|
* content-parser: do not parse content inside codeRafael G. Martins2015-05-061-7/+30
|
* content-parser: actually use inline parserRafael G. Martins2015-05-061-3/+19
|
* content-parsed: started inline parserRafael G. Martins2015-05-061-3/+217
|
* content-parser: minor fixes. added testsRafael G. Martins2015-05-041-14/+21
|