Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add a test to make sure quotes processor does not touch code blocks | Dmitry Shachnev | 2015-06-19 | 1 | -1/+1 |
| | |||||
* | tests: Add a failing case for `<<Hello>>` to smarty test | Dmitry Shachnev | 2015-06-15 | 1 | -0/+1 |
| | |||||
* | smarty: Add back special case for decade abbreviations | Dmitry Shachnev | 2015-03-18 | 1 | -5/+5 |
| | | | | | | | | | | The previous version did not work, and was incorrectly removed as part of 85ad18071d619251. In the new version, use lookbehind search for \w instead of \b, so that it works. Update the tests accordingly. Fixes #399 (except parts that we can't fix). Thanks @gandaro for the report. | ||||
* | Code Blocks must always be AtomicStrings | Waylan Limberg | 2014-09-08 | 1 | -1/+5 |
| | | | | | | | | | | | | | | | | | | Fixes #340. The "inline" TreeProcessor runs before the "prettify" TreeProcessor, but the "smarty" TreeProcessor (wich is just another instance of `InlineProcessor`) runs after the "prettify" TreeProcessor. The problem was that the "prettify" TreeProcessor was losing the AtomicString quality of the text of code blocks (any operation on a string creates a new string. When that string is an AtomicString, the new string must explicitly be declared as an AtomicString. As the "prettify" TreeProcessor cleans up newlines on code blocks, it was changing the AtomicString to a normal string. And as `InlineProcessor` identifies what elements to skip solely by whether the text is an AtomicString, the "smarty" instance was running on code blocks. Importantly, I added a test of code blocks and spans for smarty, so this shouldn't break again. | ||||
* | Fixed an old typo in the smarty extension and added a test case. | Martin Altmayer | 2014-08-11 | 1 | -1/+2 |
| | |||||
* | smarty: add support for angled quotes | Dmitry Shachnev | 2014-06-19 | 1 | -0/+2 |
| | | | | See <http://en.wikipedia.org/wiki/Guillemet>. | ||||
* | Add failing unit test for smarty: ellipsis before close double quote ↵ | Lawrence Kesteloot | 2014-05-31 | 1 | -0/+1 |
| | | | | generates opening double quote. | ||||
* | Add a (failing) test for Smarty extension. | Dmitry Shachnev | 2014-02-13 | 1 | -1/+2 |
| | |||||
* | Some fixes requested by @waylan, cleanup and tests improvements | Dmitry Shachnev | 2013-07-27 | 1 | -1/+5 |
| | |||||
* | Add smarty extension, based on SmartyPants library | Dmitry Shachnev | 2013-07-26 | 1 | -0/+16 |