summaryrefslogtreecommitdiff
path: root/test/data/shr
AgeCommit message (Collapse)Author
2020-10-24Move shr.el test data to follow our conventionsStefan Kangas
* test/lisp/net/shr-tests.el (ert, ert-x): Require. (shr-tests--datadir): Remove variable. (shr-test, rendering): Use ert-resource-directory. * test/lisp/net/shr-resources/*: Move from test/data/shr/.
2019-02-22Handle HTML 'ol' start attribute in shr.elNicholas Drozd
* lisp/net/shr.el (shr-tag-ol): Don't automatically assume 1-indexing for all ordered lists, use <ol> if given. * etc/NEWS: Announce change in shr behavior. * test/data/shr/ol.html: * test/data/shr/ol.txt: New test data files.
2016-04-24Encode the shr tests files with trailing white spaceLars Magne Ingebrigtsen
2016-03-25(shr-insert): Respect non-breaking space in non-<pre> textLars Magne Ingebrigtsen
* lisp/net/shr.el (shr-insert): Respect non-breaking space in non-<pre> text.
2016-03-20Further empty <li> tweaksLars Magne Ingebrigtsen
* lisp/net/shr.el (shr-tag-li): When showing several empty <li> elements, ensure that they really get inserted on a new line.
2016-03-20Don't remove too much white space at the end of documentsLars Magne Ingebrigtsen
* lisp/net/shr.el (shr--remove-blank-lines-at-the-end): Don't remove too much white space -- leave it on the last line (in case there's a background color).
2016-03-20Add tests for empty <ul><li>Lars Magne Ingebrigtsen
2016-03-20Add more shr HTML rendering testsLars Magne Ingebrigtsen
2016-03-20Add a test harness for shr HTML rendering and one testLars Magne Ingebrigtsen