1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-01 01:41:01 -08:00
emacs/test/lisp/textmodes
Michal Nazarewicz 8d3bb7beb4 Handle quotation marks and apostrophes in ‘sgml-quote’
To be able to use text in an HTML argument, quotation marks need
to be replaced with an appropriate character reference.  Make
‘sgml-quote’ do that.

While at it, fix entiteis not being unquoted if they lack closing
semicolon (e.g. ‘&amp’) occuring at the very end of a region.
Even though unlikely, make ‘sgml-quote’ handle this scenario.

* lisp/textmodes/sgml-mode.el (sgml-quote): Handle quotation marks and
apostrophes.  Match entities lacking semicolon at the end of regions.
* test/lisp/textmodes/sgml-mode-tests.el (sgml-quote-works): New test
case for ‘sgml-quote’ function.
2018-04-07 11:16:12 +01:00
..
css-mode-tests.el Merge from origin/emacs-26 2018-02-09 11:12:48 -08:00
dns-mode-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
fill-tests.el ; * test/lisp/textmodes/fill-tests.el: Fix copyright years. 2018-01-26 19:18:23 -08:00
mhtml-mode-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
reftex-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
sgml-mode-tests.el Handle quotation marks and apostrophes in ‘sgml-quote’ 2018-04-07 11:16:12 +01:00
tildify-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00