Skip to content

Commit

Permalink
Move parse_inlines_nbsp to extensions.citations
Browse files Browse the repository at this point in the history
  • Loading branch information
Witiko committed Jun 27, 2022
1 parent b6d98fc commit ff05e28
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions markdown.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -19604,11 +19604,6 @@ function M.reader.new(writer, options, extensions)
function()
return parsers.inlines_no_html
end, false)

self.create_parser("parse_inlines_nbsp",
function()
return parsers.inlines_nbsp
end, false)
% \end{macrocode}
% \par
% \begin{markdown}
Expand Down Expand Up @@ -20427,6 +20422,11 @@ M.extensions.citations = function(citation_nbsps)
local syntax = self.syntax
local writer = self.writer

self.create_parser("parse_inlines_nbsp",
function()
return parsers.inlines_nbsp
end, false)

local citation_chars
= parsers.alphanumeric
+ S("#$%&-+<>~/_")
Expand Down

0 comments on commit ff05e28

Please sign in to comment.