Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | only remove enclosing angle brackets | David Szotten | 2015-09-19 | 1 | -2/+4 |
| | |||||
* | Release version 3.0.5 | Xavier Mendez | 2015-09-05 | 1 | -2/+2 |
| | |||||
* | Make find_emph_char detect codespans at the end | Xavier Mendez | 2015-09-05 | 1 | -1/+1 |
| | |||||
* | Release version 3.0.4rust-2015-08-22-do-not-delete | Xavier Mendez | 2015-07-26 | 1 | -2/+2 |
| | |||||
* | Palliate another effect of rewinding | Xavier Mendez | 2015-07-26 | 1 | -3/+15 |
| | |||||
* | Release version 3.0.3 | Xavier Mendez | 2015-05-26 | 1 | -2/+2 |
| | |||||
* | Prevent out of bounds read | Xavier Mendez | 2015-05-16 | 1 | -1/+1 |
| | |||||
* | Fix rendering in table with empty cells | Tzu-ping Chung | 2015-05-16 | 1 | -1/+9 |
| | | | | | | | | `find_emph_char` returns 0 if the char specified is not found in the current line, but this is also what happens when there's an empty cell. This patch adds logic to work around this problem. See uranusjr/macdown#321 | ||||
* | Release version 3.0.2 | Xavier Mendez | 2015-04-08 | 1 | -2/+2 |
| | |||||
* | Merge branch 'master' of https://github.com/hoedown/hoedown | Xavier Mendez | 2015-04-08 | 2 | -1/+15 |
|\ | |||||
| * | Merge pull request #151 from blaenk/underline-fix | Xavier Mendez | 2015-01-31 | 1 | -1/+5 |
| |\ | | | | | | | only set active_char if extension is on | ||||
| | * | only set active_char if extension is on | Jorge Israel Peña | 2015-01-31 | 1 | -1/+5 |
| | | | |||||
| * | | Merge pull request #149 from blaenk/underline-fix | Xavier Mendez | 2015-01-31 | 1 | -1/+1 |
| |\ \ | | |/ | | | | allow the HOEDOWN_EXT_UNDERLINE to work | ||||
| | * | allow the HOEDOWN_EXT_UNDERLINE to work | Jorge Israel Peña | 2015-01-30 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When the `HOEDOWN_EXT_UNDERLINE` extension was enabled, underlined spans would actually be passed verbatim to the output buffer. This was because the active_char was _only_ set when the emphasis, double_emphasis, or triple_emphasis handlers were registered. As a result, no active char was found in the input buffer, so everything was passed through verbatim. This patch fixes this by also registering the `active_char` if the underline handler is registered. I also added a simple regression test. I personally don't use this extension, but I encountered this bug over the course of writing bindings for Rust. | ||||
| * | | set active_char for footnotes | Jorge Israel Peña | 2015-01-30 | 1 | -1/+1 |
| |/ | | | | | | | | | This enables handling footnotes and footnote references without also handling images and links. | ||||
| * | Merge pull request #144 from uranusjr/fix-escape-in-comment | Xavier Mendez | 2015-01-01 | 1 | -0/+10 |
| |\ | | | | | | | Special-case comment tag to ignore all its content | ||||
| | * | Special-case comment tag to ignore all its content | Tzu-ping Chung | 2014-11-14 | 1 | -0/+10 |
| | | | | | | | | | | | | Fix #143 | ||||
* | | | Merge changes from v4 | Xavier Mendez | 2015-04-08 | 3 | -4/+67 |
|/ / | |||||
* | | Reset the TOC header count after a render (closes #147) | Xavier Mendez | 2014-12-25 | 1 | -0/+2 |
| | | |||||
* | | Release version 3.0.1 | Xavier Mendez | 2014-12-01 | 1 | -2/+2 |
| | | |||||
* | | Fix out-of-bounds memory access in tab expansion. | Steve Wolter | 2014-12-01 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | The loop performs two jobs: Find the first tabstop, and counting the number of characters before it. To count the number of characters before the tabstop, it counts all bytes that are not UTF-8 continuation bytes. The current form of the loop doesn't check the first character, but checks the character past the range's end. Since these are both usually non-continuation characters, it does the right thing accidentally. However, it accesses the character range at index `size`, which is forbidden and might be uninitialized for strings that are not null-terminated. | ||||
* | | Fix issue #125: Don't escape HTML tags in tables of contents. | Steve Wolter | 2014-12-01 | 1 | -2/+2 |
|/ | | | | | | | | Before this patch, a header like "# *A*" was displayed as "<li><em>A</em></li>" in the TOC. The error was caused by toc_header doing the HTML escaping. In the normal HTML renderer, the escaping is done by the normal_text hook. This patch uses the same handling to fix the issue. | ||||
* | Release v3.0.0! | Xavier Mendez | 2014-11-04 | 1 | -2/+2 |
| | |||||
* | Use a stricter subset of C | Devin Torres | 2014-10-18 | 5 | -53/+120 |
| | |||||
* | Merge pull request #130 from MarkLodato/utf8-tab-expansion | Devin Torres | 2014-10-04 | 1 | -1/+10 |
|\ | | | | | Make tab expansion UTF-8 aware. | ||||
| * | Make expand_tabs() UTF-8 aware. | Mark Lodato | 2014-09-22 | 1 | -1/+10 |
| | | | | | | | | | | | | | | | | | | Previously, expand_tabs() counted every *byte* rather than every *character* to determine the proper tab stops. This change fixes that by skipping over UTF-8 continuation bytes (bytes of the form 10xxxxxx), which are the only types of bytes in valid UTF-8 that do not start a character. This code does not skip over combining characters. | ||||
* | | Merge pull request #126 from mo/typofixes | Devin Torres | 2014-10-04 | 2 | -6/+6 |
|\ \ | | | | | | | Fixes a few typos | ||||
| * | | Fix a few typos | Martin Olsson | 2014-09-19 | 2 | -6/+6 |
| |/ | |||||
* | | Don't use "for (declaration" | Xavier Mendez | 2014-10-04 | 2 | -2/+4 |
| | | |||||
* | | Merge pull request #124 from jmendeth/renderer-api | Devin Torres | 2014-10-02 | 4 | -198/+239 |
|\ \ | |/ |/| | Renderer API | ||||
| * | Revert `hoedown_inline` | Xavier Mendez | 2014-10-02 | 2 | -5/+0 |
| | | |||||
| * | Properly name category | Xavier Mendez | 2014-09-14 | 1 | -1/+1 |
| | | |||||
| * | Split `table` in `table_header` and `table_body` | Xavier Mendez | 2014-09-14 | 3 | -11/+40 |
| | | | | | | | | | | | | | | Only one parameter (`content`) can have rendered output. The `table` callback contradicts this rule, so it has to be split in `table_header` and `table_body`. This also helps keep the HTML renderer code dry and readable. | ||||
| * | Call it `content` when it's rendered output, `text` otherwise | Xavier Mendez | 2014-09-14 | 3 | -101/+98 |
| | | | | | | | | If it's rendered output, i.e. output coming from other callbacks, it must be called `content`, and be the first parameter after `ob`. | ||||
| * | Rename `raw_html_tag` to just `raw_html` | Xavier Mendez | 2014-09-14 | 2 | -3/+3 |
| | | |||||
| * | Put HTML callbacks at the end of their categories | Xavier Mendez | 2014-09-14 | 1 | -2/+2 |
| | | |||||
| * | Update HTML renderer to use new API | Xavier Mendez | 2014-09-14 | 2 | -48/+49 |
| | | |||||
| * | Add `render_inline` parameter to header and footer callbacks | Xavier Mendez | 2014-09-14 | 2 | -4/+11 |
| | | |||||
| * | Create renderer_data and pass it to callbacks | Xavier Mendez | 2014-09-14 | 2 | -84/+96 |
| | | |||||
* | | Remove HTML_SAFELINK and EXT_LAX_SPACING | Xavier Mendez | 2014-09-19 | 4 | -44/+2 |
| | | |||||
* | | Don't require spacing around math spans (fix #120) | Xavier Mendez | 2014-09-14 | 1 | -5/+1 |
|/ | |||||
* | Include strings.h to silence warnings for strncasecmp | Florian Hahn | 2014-09-14 | 2 | -2/+6 |
| | |||||
* | Use memcmp in hoedown_buffer_eq(...) | Xavier Mendez | 2014-09-09 | 1 | -5/+1 |
| | |||||
* | Keep code without warnings | Xavier Mendez | 2014-09-04 | 2 | -10/+10 |
| | |||||
* | Keep up to date with master | Xavier Mendez | 2014-09-04 | 3 | -5/+95 |
|\ | |||||
| * | Keep up to date with master | Xavier Mendez | 2014-09-02 | 1 | -143/+122 |
| |\ | | | | | | | | | | | | | Conflicts: src/document.c | ||||
| * | | Rename MATH_DOLLAR to MATH_EXPLICIT, update descriptions | Xavier Mendez | 2014-09-02 | 2 | -6/+6 |
| | | | |||||
| * | | document: Make MATH extension context-sensitive | Xavier Mendez | 2014-09-02 | 1 | -6/+21 |
| | | | |||||
| * | | html: Add *provisional* implementation for MATH | Xavier Mendez | 2014-08-18 | 1 | -0/+11 |
| | | | |||||
| * | | document: Implement MATH extension | Xavier Mendez | 2014-08-18 | 2 | -5/+69 |
| | | |