Skip to content

Commit

Permalink
Fix chinese unicode filtered out of fragment links (#130)
Browse files Browse the repository at this point in the history
  • Loading branch information
SidOfc committed Sep 25, 2020
1 parent 268bc88 commit ad11a1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autoload/mkdx.vim
Original file line number Diff line number Diff line change
Expand Up @@ -877,7 +877,7 @@ let s:util.transformations = {
\ 'clean-header': [['^[ {{tokens.header}}]\+\| \+$', '', 'g'], ['\[!\[\([^\]]\+\)\](\([^\)]\+\))\](\([^\)]\+\))', '', 'g'],
\ ['<a.*>\(.*\)</a>', '\1', 'g'], ['!\?\[\([^\]]\+\)]([^)]\+)', '\1', 'g']],
\ 'header-to-hash': [['`<kbd>\(.*\)<\/kbd>`', 'kbd\1kbd', 'g'], ['<kbd>\(.*\)<\/kbd>', '\1', 'g'],
\ ['[^0-9[:lower:]_\- ]\+', '', 'g'], [' ', '-', 'g']],
\ ['[^0-9[:lower:]\u4e00-\u9fff_\- ]\+', '', 'g'], [' ', '-', 'g']],
\ 'toggle-quote': [['^\(> \)\?', '\=(submatch(1) == "> " ? "" : "> ")', '']]
\ }

Expand Down

0 comments on commit ad11a1c

Please sign in to comment.