aboutsummaryrefslogtreecommitdiffstats
path: root/tests/extensions/attr_list.html
Commit message (Collapse)AuthorAgeFilesLines
* Correct spelling mistakes.Edward Betts2018-01-131-1/+1
|
* No need to test the same thing twice.Waylan Limberg2016-09-231-3/+2
| | | | Related to #498.
* Merge branch 'master' of https://github.com/waylan/Python-MarkdownWaylan Limberg2016-09-231-1/+2
|\
| * Fix another issue with attribute lists (with multiple ‘=’ signs)Dmitry Shachnev2016-06-131-0/+1
| |
* | Don't allow equal signs in attr_list keys.Waylan Limberg2016-09-231-1/+2
|/ | | | | | This will probably not result in the output intending by the author, but the syntax would be incorrect so the author needs to edit the document anyway. We just need to ensure the parser does not crash here. Fixes #498.
* Attribute lists are not permitted to contain newlines. Fixes #482.Waylan Limberg2016-06-121-1/+3
|
* No `=` in key or value of attr lists.Waylan Limberg2015-02-241-1/+7
| | | | Fixes #389. Thanks for the report @lazka.
* Added support for attr_lists on definition list terms.Waylan Limberg2013-07-191-1/+10
| | | | | | | | Like headers (h1-6) dt's can only be on one line, so we need to use the header regex on dt's. This was implemented after considering a recent [discussion](http://six.pairlist.net/pipermail/markdown-discuss/2013-July/002859.html) on the markdown mailing list. Prior to that discussion, I never considered that it was impossable to set block level attrs on dt's. Now it is.
* Allow inline attr_lists at end of header.Waylan Limberg2013-07-191-1/+1
| | | | | | | | | | A header can be only one line - so unlike other block level elements, a attr_list must be at th eend of the line. To disingush it from an inline attr_list on the last child in a header, we must require at least one space before th eblock-level attrt_list. Always intended it to work that way. Not sure how I missed that before. At least we're testing for it now.
* Attr_List Extension now also supports nested ol's.Waylan Limberg2013-07-191-1/+23
| | | | | | | | | | Not sure how I missed that when committing ea4af0d. Also as a side-effect, this fixes #230 - which brought my previous oversight to my attention. Thanks for the report @divisoryang. Also added some tests - including tests of list items without attr_lists. Sometimes I forget to test markup that does not use an extension when an extension is enabled. That's what resulted in #230 being reported.
* Attr_List Extension now support attr_lists on nested lists.Waylan Limberg2013-06-161-1/+12
| | | | | | A list item with a nested list complicates were the attr_list can be. Fixes #218. Thanks for the report @jpzimmer.
* Fixed #164. attr_list extension attribute names are now sanitized and won't ↵Waylan Limberg2012-12-131-1/+2
| | | | crash the serealizer.
* Added docs and tests to attr_list ext. Closes #7.Waylan Limberg2011-06-201-0/+17