Skip to content

Commit c6d5502

Browse files
committed
Use NO_INTRA_EMPHASIS hoedown extension
Fixes: #43
1 parent d0ee426 commit c6d5502

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/web/mod.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,14 +246,15 @@ fn render_markdown(text: &str) -> String {
246246
use hoedown::renderer::html;
247247

248248
let extensions = {
249-
use hoedown::{FENCED_CODE, FOOTNOTES, SUPERSCRIPT, TABLES, AUTOLINK};
249+
use hoedown::{FENCED_CODE, FOOTNOTES, SUPERSCRIPT, TABLES, AUTOLINK, NO_INTRA_EMPHASIS};
250250

251251
let mut extensions = Extension::empty();
252252
extensions.insert(FENCED_CODE);
253253
extensions.insert(FOOTNOTES);
254254
extensions.insert(SUPERSCRIPT);
255255
extensions.insert(TABLES);
256256
extensions.insert(AUTOLINK);
257+
extensions.insert(NO_INTRA_EMPHASIS);
257258

258259
extensions
259260
};

0 commit comments

Comments
 (0)