summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #4 from hoedown/masterHEADmasterBrian Anderson2015-09-2136-1220/+1870
|\ | | | | Upgrade hoedown to 3.0.5.
| * Merge pull request #174 from davidszotten/non_enclosing_angle_bracketsXavier Mendez2015-09-191-2/+4
| |\ | | | | | | only remove enclosing angle brackets
| | * only remove enclosing angle bracketsDavid Szotten2015-09-191-2/+4
| |/
| * Release version 3.0.5Xavier Mendez2015-09-051-2/+2
| |
| * Make find_emph_char detect codespans at the endXavier Mendez2015-09-051-1/+1
| |
| * Fix warnings on #167Xavier Mendez2015-08-311-1/+1
| |
| * Release version 3.0.4rust-2015-08-22-do-not-deleteXavier Mendez2015-07-261-2/+2
| |
| * Palliate another effect of rewindingXavier Mendez2015-07-261-3/+15
| |
| * Release version 3.0.3Xavier Mendez2015-05-261-2/+2
| |
| * Merge pull request #160 from cuviper/makefile-overridesDevin Torres2015-05-262-14/+22
| |\ | | | | | | tweak the Makefile for better distro support
| | * Support overrides for bin, lib, and includeJosh Stone2015-05-151-8/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Usually bin and include are the same, but for instance lib may want to be lib64 on Red Hat distros. Add BINDIR, LIBDIR, and INCLUDEDIR variables that can be overridden on the command line. This commit also tweaks the way the libraries are installed, dropping execute privileges on libhoedown.a, and making sure libhoedown.so is installed as a symlink. (The install command doesn't preserve symlinks.)
| | * Support command-line override of CFLAGSJosh Stone2015-05-151-4/+5
| | | | | | | | | | | | | | | | | | Most of the CFLAGS options can reasonably be changed at will, but a few are necessary. Move those few into HOEDOWN_CFLAGS, so the rest can be overridden, e.g. by distro policy.
| | * Include libhoedown.a in "make all"Josh Stone2015-05-152-1/+2
| | |
| | * Set an SONAME for libhoedown.so.3Josh Stone2015-05-151-1/+1
| | |
| * | Prevent out of bounds readXavier Mendez2015-05-161-1/+1
| | |
| * | Merge pull request #159 from uranusjr/table-fixXavier Mendez2015-05-164-1/+101
| |\ \ | | |/ | |/| Fix rendering in table with empty cells
| | * Fix rendering in table with empty cellsTzu-ping Chung2015-05-164-1/+101
| |/ | | | | | | | | | | | | | | `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.2Xavier Mendez2015-04-081-2/+2
| |
| * Merge branch 'master' of https://github.com/hoedown/hoedownXavier Mendez2015-04-085-1/+22
| |\
| | * Merge pull request #151 from blaenk/underline-fixXavier Mendez2015-01-311-1/+5
| | |\ | | | | | | | | only set active_char if extension is on
| | | * only set active_char if extension is onJorge Israel Peña2015-01-311-1/+5
| | | |
| | * | Merge pull request #149 from blaenk/underline-fixXavier Mendez2015-01-314-1/+8
| | |\ \ | | | |/ | | | | allow the HOEDOWN_EXT_UNDERLINE to work
| | | * allow the HOEDOWN_EXT_UNDERLINE to workJorge Israel Peña2015-01-304-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| | * | Merge pull request #150 from blaenk/footnote-fixXavier Mendez2015-01-311-1/+1
| | |\ \ | | | |/ | | |/| set active_char for footnotes
| | | * set active_char for footnotesJorge Israel Peña2015-01-301-1/+1
| | |/ | | | | | | | | | | | | This enables handling footnotes and footnote references without also handling images and links.
| | * Merge pull request #144 from uranusjr/fix-escape-in-commentXavier Mendez2015-01-011-0/+10
| | |\ | | | | | | | | Special-case comment tag to ignore all its content
| | | * Special-case comment tag to ignore all its contentTzu-ping Chung2014-11-141-0/+10
| | | | | | | | | | | | | | | | Fix #143
| * | | Merge changes from v4Xavier Mendez2015-04-085-32/+95
| |/ /
| * | Reset the TOC header count after a render (closes #147)Xavier Mendez2014-12-251-0/+2
| | |
| * | Release version 3.0.1Xavier Mendez2014-12-011-2/+2
| | |
| * | Merge pull request #146 from stevewolter/masterXavier Mendez2014-12-015-3/+28
| |\ \ | | |/ | |/| Fix issue #125 (formatting in TOCs) and out-of-bounds memory access in tab expansion
| | * Move test for formatting in table of contents to test/Tests directory.Steve Wolter2014-12-013-5/+5
| | | | | | | | | | | | | | | MarkdownTest_1.0.3 directory is reserved for the standard tests from the original Markdown spec.
| | * Fix out-of-bounds memory access in tab expansion.Steve Wolter2014-12-011-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 Wolter2014-12-014-2/+27
| |/ | | | | | | | | | | | | | | Before this patch, a header like "# *A*" was displayed as "<li>&lt;em&gtA&lt;/em&gt;</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 Mendez2014-11-042-4/+4
| |
| * Merge pull request #141 from jmendeth/simple-installDevin Torres2014-11-041-0/+15
| |\ | | | | | | Simple install target
| | * Simplify MakefileXavier Mendez2014-11-041-2/+1
| | |
| | * Simple install targetXavier Mendez2014-11-041-0/+16
| |/
| * Update LICENSEDevin Torres2014-11-031-1/+1
| |
| * Merge pull request #140 from uranusjr/test-windowsDevin Torres2014-11-032-6/+10
| |\ | | | | | | Make tests work on Windows
| | * Make tests work on WindowsTzu-ping Chung2014-10-222-6/+10
| |/
| * Merge pull request #137 from hoedown/ansiDevin Torres2014-10-219-494/+606
| |\ | | | | | | Use a stricter subset of C
| | * bin-refactor: Make parse_options() consistentXavier Mendez2014-10-201-1/+2
| | |
| | * bin-refactor: Refactor!Xavier Mendez2014-10-202-26/+407
| | |
| | * bin-refactor: Prepare for the refactorXavier Mendez2014-10-202-405/+24
| | |
| | * bin-refactor: Add parse_options generic methodXavier Mendez2014-10-201-7/+69
| | |
| | * bin-refactor: Remove useless null rendererXavier Mendez2014-10-191-26/+2
| | | | | | | | | | | | | | | | | | The original use of the renderer was for benchmarking, to know the time used exclusively for parsing. But setting NULL callbacks actually disabled parsing. No-op callbacks should be used instead.
| | * Use a stricter subset of C in the executablesXavier Mendez2014-10-192-32/+35
| | |
| | * Use a stricter subset of CDevin Torres2014-10-186-54/+124
| |/
| * Merge pull request #130 from MarkLodato/utf8-tab-expansionDevin Torres2014-10-041-1/+10
| |\ | | | | | | Make tab expansion UTF-8 aware.