diff options
author | Noam Postavsky <npostavs@gmail.com> | 2019-04-21 22:44:50 -0400 |
---|---|---|
committer | Noam Postavsky <npostavs@gmail.com> | 2019-05-09 06:42:40 -0400 |
commit | 7dab3ee7ab54b3c2e7bc24170376054786c01d6f (patch) | |
tree | 73b562aa6b3588215949f1ed4773e58b21d18dfd /test/lisp/textmodes/sgml-mode-tests.el | |
parent | e4cde42657f8f91f795e6b7041dc50b896dc468d (diff) | |
download | emacs-7dab3ee7ab54b3c2e7bc24170376054786c01d6f.tar.gz |
Recognize single quote attribute values in nxml and sgml (Bug#35381)
* lisp/textmodes/sgml-mode.el (sgml-specials): Add single quote.
(sgml-syntax-propertize-rules): Handle single quote.
* test/lisp/nxml/nxml-mode-tests.el (nxml-mode-font-lock-quotes): New
test.
* test/lisp/textmodes/sgml-mode-tests.el
(sgml-delete-tag-bug-8203-should-not-delete-apostrophe): Now passes.
Diffstat (limited to 'test/lisp/textmodes/sgml-mode-tests.el')
-rw-r--r-- | test/lisp/textmodes/sgml-mode-tests.el | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/test/lisp/textmodes/sgml-mode-tests.el b/test/lisp/textmodes/sgml-mode-tests.el index 20b5e27ff5d..7318a667b36 100644 --- a/test/lisp/textmodes/sgml-mode-tests.el +++ b/test/lisp/textmodes/sgml-mode-tests.el @@ -125,7 +125,6 @@ The point is set to the beginning of the buffer." (should (string= content (buffer-string)))))) (ert-deftest sgml-delete-tag-bug-8203-should-not-delete-apostrophe () - :expected-result :failed (sgml-with-content "<title>Winter is comin'</title>" (sgml-delete-tag 1) |