diff options
author | Michal Nazarewicz <mina86@mina86.com> | 2014-06-05 16:41:01 +0200 |
---|---|---|
committer | Michal Nazarewicz <mina86@mina86.com> | 2014-06-05 16:41:01 +0200 |
commit | eb54c73a9d26325f691589a0dce561b124a50c70 (patch) | |
tree | 8884efa60057746d02ad60941d6625185160f36d /lisp/emacs-lisp | |
parent | e01e361f93959c5a5873ac119d9e55380dbdbbaa (diff) | |
download | emacs-eb54c73a9d26325f691589a0dce561b124a50c70.tar.gz emacs-eb54c73a9d26325f691589a0dce561b124a50c70.tar.bz2 emacs-eb54c73a9d26325f691589a0dce561b124a50c70.zip |
tildify.el: Better support for XML
* lisp/textmodes/tildify.el (tildify-string-alist)
(tildify-ignored-environments-alist): Add `nxml-mode' to the list of
supported modes since `xml-mode' is no longer a thing but just an
alias to the former. Also include comments and insides of tags in
`tildify-ignored-environments-alist' for XML modes. Finally, since
XML does not define “ ”[1], use a numeric reference for
a no-break space (namely “ ”)
[1] XML specification defines only a handful of predefined entities.
The list is at <http://www.w3.org/TR/REC-xml/#sec-predefined-ent>
and includes only <, >, &, ' and " (meaning <,
>, &, ' and " respectively). This is in contrast to HTML and even
XHTML which defined a whole bunch of entities including “ ”.
* automated/tildify-tests.el (tildify-test--example-html): Add support
for generating XML code, so that…
(tildify-test-xml) …test can be added to check handling of XML
documents.
Diffstat (limited to 'lisp/emacs-lisp')
0 files changed, 0 insertions, 0 deletions