-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
1 addition
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ | |
**Author:** Niklas Frykholm, <[email protected]> | ||
**Date:** 31 May 2008 | ||
**Edited by:** Marcus Thunström (2018-06-14, 2021-05-06) | ||
**Edited by:** Marcus Thunström (2018-06-14, 2021-05-31) | ||
This is an implementation of the popular text markup language Markdown in pure Lua. | ||
Markdown can convert documents written in a simple and easy to read text format | ||
|
@@ -271,16 +271,6 @@ local function strip_html(html) | |
return text | ||
end | ||
|
||
local function urlize(text) | ||
text = text | ||
:lower() | ||
:gsub("[%p ]+", "-") | ||
:gsub("^%-+", "") | ||
:gsub("%-+$", "") | ||
|
||
return text == "" and "-" or text | ||
end | ||
|
||
---------------------------------------------------------------------- | ||
-- Hash | ||
---------------------------------------------------------------------- | ||
|