mirror of
https://github.com/discourse/discourse.git
synced 2025-05-28 12:02:05 +08:00
FEATURE: support mark
tag (#12088)
This commit adds support for `mark` tag for highlighting text content.
This commit is contained in:
@ -205,6 +205,10 @@ describe HtmlToMarkdown do
|
||||
expect(html_to_markdown("H<sub>2</sub>O")).to eq("H<sub>2</sub>O")
|
||||
end
|
||||
|
||||
it "supports <mark>" do
|
||||
expect(html_to_markdown("<mark>This is highlighted!</mark>")).to eq("<mark>This is highlighted!</mark>")
|
||||
end
|
||||
|
||||
it "supports <sup>" do
|
||||
expect(html_to_markdown("<sup>Super Script!</sup>")).to eq("<sup>Super Script!</sup>")
|
||||
end
|
||||
|
Reference in New Issue
Block a user