no-compat 5.2/5.3 compatible; line endings for markdown.lua
This commit is contained in:
parent
7da46268dc
commit
85dbd3d731
|
@ -23,6 +23,7 @@ local tools = require 'ldoc.tools'
|
|||
local markup = require 'ldoc.markup'
|
||||
local prettify = require 'ldoc.prettify'
|
||||
local doc = require 'ldoc.doc'
|
||||
local unpack = utils.unpack
|
||||
local html = {}
|
||||
|
||||
|
||||
|
|
2730
ldoc/markdown.lua
2730
ldoc/markdown.lua
File diff suppressed because it is too large
Load Diff
|
@ -1,5 +1,6 @@
|
|||
-- parsing code for doc comments
|
||||
|
||||
local utils = require 'pl.utils'
|
||||
local List = require 'pl.List'
|
||||
local Map = require 'pl.Map'
|
||||
local stringio = require 'pl.stringio'
|
||||
|
@ -7,6 +8,7 @@ local lexer = require 'ldoc.lexer'
|
|||
local tools = require 'ldoc.tools'
|
||||
local doc = require 'ldoc.doc'
|
||||
local Item,File = doc.Item,doc.File
|
||||
local unpack = utils.unpack
|
||||
|
||||
------ Parsing the Source --------------
|
||||
-- This uses the lexer from PL, but it should be possible to use Peter Odding's
|
||||
|
@ -142,7 +144,7 @@ local function extract_tags (s,args)
|
|||
if not value:match '\n[^\n]+\n' then
|
||||
value = strip(value)
|
||||
end
|
||||
|
||||
|
||||
tags:add(tag,value,modifiers)
|
||||
end
|
||||
return tags --Map(tags)
|
||||
|
|
Loading…
Reference in New Issue