summaryrefslogtreecommitdiff
path: root/src/blocks.c
AgeCommit message (Expand)Author
2020-07-12Treat textarea like script, style, pre (type 1 HTML block)...John MacFarlane
2020-05-13Add needed include in blocks.cJohn MacFarlane
2020-03-03Skip UTF-8 BOM if present at beginning of buffer.John MacFarlane
2020-01-23Rearrange struct cmark_nodeNick Wellnhofer
2020-01-23Use C string instead of chunk for literal textNick Wellnhofer
2020-01-23Use C string instead of chunk for code info and literalNick Wellnhofer
2019-04-06Resolve link references before creating setext header.John MacFarlane
2019-03-17Use hand-rolled scanner for thematic break.John MacFarlane
2019-03-17Do cheaper test first.John MacFarlane
2019-03-17Rename ends_with_blank_line with S_ prefix.John MacFarlane
2019-03-17Add CMARK_NODE__LAST_LINE_CHECKED flag.John MacFarlane
2019-03-17In ends_with_blank_line, call S_set_last_line_blank...John MacFarlane
2018-04-14Optimize S_find_first_nonspace.John MacFarlane
2018-03-25Don't allow list markers to be indented >= 4 spaces.John MacFarlane
2017-11-02Merge branch 'master' into upstream/inline-sourceposAshe Connor
2017-09-14blocks: Fix quadratic behavior in `finalize`Vicent Marti
2017-08-10Fix inlines spanning newlines, text in non-paraYuki Izumi
2017-06-23Reset bytes after UTF8 procYuki Izumi
2017-06-02Fixed cmark_node_get_list_start to return 0 for bullet lists...John MacFarlane
2017-05-30Use CMARK_NO_DELIM for bullet lists. Closes #201.John MacFarlane
2017-05-05Remove normalize as an option per #190 (#194)Yuki Izumi
2017-01-20Fixed buffer overflow error in S_parser_feed.John MacFarlane
2017-01-03Revert "More sourcepos! (#169)"John MacFarlane
2017-01-03Revert "Change types for source map offsets (#174)"John MacFarlane
2016-12-30Change types for source map offsets (#174)Nick Wellnhofer
2016-12-20More sourcepos! (#169)Mathieu Duponchelle
2016-12-09Correctly initialize chunk in S_process_line (#170)Nick Wellnhofer
2016-10-11Ran 'make format' to reformat code.John MacFarlane
2016-10-11Changed logic for null/eol checks.John MacFarlane
2016-10-11Fix by not advancing past both \0 and \nYuki Izumi
2016-09-26Merge pull request #157 from kivikakk/list-parse-mem-leakJohn MacFarlane
2016-09-26Fix memory leak in list parsingYuki Izumi
2016-09-26Use cmark_mem to free where used to allocYuki Izumi
2016-07-15Reformatted.John MacFarlane
2016-07-13Fix sourcepos for blockquotes.John MacFarlane
2016-07-13Replaced check for `\n` with `S_is_line_end_char`.John MacFarlane
2016-07-13Empty list items cannot interrupt paragraphs (spec change).John MacFarlane
2016-07-11Fix mistaken sourcepos for atx headers.John MacFarlane
2016-07-11Removed "two blanks breaks out of a list" feature.John MacFarlane
2016-07-11Don't allow ordered lists to interrupt paragraphs unless...John MacFarlane
2016-06-24Reformatted.John MacFarlane
2016-06-06msvc: Fix warnings and errorsVicent Marti
2016-06-06mem: Rename the new APIsVicent Marti
2016-06-06mem: Add a `realloc` pointer to the memory handlerVicent Marti
2016-06-06node: Memory dietVicent Marti
2016-06-06node: Memory dietVicent Marti
2016-06-06cmark: Implement support for custom allocatorsVicent Marti
2016-06-06cmake: Global handler for OOM situationsVicent Marti
2016-06-06buffer: proper safety checks for unbounded memoryVicent Marti
2016-04-09Reformatted.John MacFarlane