[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/markdown-mode 52ce98b929 2/7: Add tests for html escaping
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/markdown-mode 52ce98b929 2/7: Add tests for html escaping title |
Date: |
Tue, 11 Apr 2023 22:01:44 -0400 (EDT) |
branch: elpa/markdown-mode
commit 52ce98b929bcdd6db03a9a3e4c80e0e2a89eda15
Author: Mark A. Hershberger <mah@nichework.com>
Commit: Shohei YOSHIDA <syohex@gmail.com>
Add tests for html escaping title
---
tests/markdown-test.el | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/tests/markdown-test.el b/tests/markdown-test.el
index 42590b2429..8e4773f4f1 100644
--- a/tests/markdown-test.el
+++ b/tests/markdown-test.el
@@ -7325,6 +7325,14 @@ Detail:
https://github.com/jrblevin/markdown-mode/issues/747"
(should (string= (buffer-substring-no-properties (point-min) (point-max))
"| -c | some text |\n| | |\n")))))
+(ert-deftest test-markdown-table/ensure-valid-html-title ()
+ "Test `markdown-table-aligh' for the line which starts with dash.
+Detail: https://github.com/jrblevin/markdown-mode/issues/747"
+ (markdown-test-string "simple"
+ (markdown-add-xhtml-header-and-footer "test<&>")
+ (goto-char (point-min))
+ (should (search-forward "test<&>"))))
+
(provide 'markdown-test)
;;; markdown-test.el ends here
- [nongnu] elpa/markdown-mode updated (fee1b0773b -> 5d98592fe5), ELPA Syncer, 2023/04/11
- [nongnu] elpa/markdown-mode 601863bb56 6/7: Fix issue link, ELPA Syncer, 2023/04/11
- [nongnu] elpa/markdown-mode 85570020fc 4/7: Add compat library, ELPA Syncer, 2023/04/11
- [nongnu] elpa/markdown-mode 52ce98b929 2/7: Add tests for html escaping title,
ELPA Syncer <=
- [nongnu] elpa/markdown-mode 5d98592fe5 7/7: Merge pull request #760 from jrblevin/pr-758, ELPA Syncer, 2023/04/11
- [nongnu] elpa/markdown-mode e44119f881 3/7: Update CHANGES.md, ELPA Syncer, 2023/04/11
- [nongnu] elpa/markdown-mode 4ee8965287 5/7: Replace string-replace with replace-regexp-in-string for compatibility, ELPA Syncer, 2023/04/11
- [nongnu] elpa/markdown-mode 054ff99a4d 1/7: Escape minimal set of characters in title, ELPA Syncer, 2023/04/11