Estevao Soares dos Santos
5c50675cca
fix(simpleAutoLinks): URLs with emphasis/strikethrough are parsed
...
correctly
When a user enters a URL with emphasis or strikethrough, the html output
were incorrect.
Now, URLs inside emphasis or strikethrough are parsed corerctly
Closes #347
2017-02-26 19:13:52 +00:00
Estevao Soares dos Santos
605d8b7b05
fix(encodeEmail): now produces valid emails
...
Closes #340
2017-02-06 06:50:52 +00:00
greenkeeper[bot]
b5e46fdb8d
Update dependencies to enable Greenkeeper 🌴 ( #335 )
...
adapt code to updated dependencies
2017-01-31 05:46:25 +00:00
Estevao Soares dos Santos
7d63a3e635
feat(events): add events to all subparsers
...
This commit adds events to all subparsers (that were previously not being watched).
2017-01-29 19:28:30 +00:00
Estevao Soares dos Santos
5190b6a41f
fix(simplifiedAutoLink): fix missing spaces before and after email addresses
...
Space char before and after the linked email address is no longer dropped
with "simplifiedAutoLink" option enabled.
Closes #330
2017-01-27 19:25:46 +00:00
Estevao Soares dos Santos
90c52b83e7
feat(encodeEmail): add option to enable/disable mail obfuscation
...
Prior to version 1.6.1, emails would always be obfuscated through dec and hex encoding.
This option makes it possible to disable this.
2017-01-27 19:03:37 +00:00
Estevao Soares dos Santos
d2fc2a0c5c
feature(excludeTrailingPunctuationFromURLs): excludes trailing punctuation from auto linked URLs
...
Closes #266 , #308
2016-12-01 15:25:46 +00:00
Estevao Soares dos Santos
b7e7560f87
fix: make some regexes a bit faster and make tab char equivalent to 4 spaces
2016-08-30 06:24:19 +01:00
Estevao Soares dos Santos
0cc55b07ee
fix(simplifiedAutoLink): fix simplified autolink to match GFM behavior
...
Using the simplifiedAutoLink option does not return the expected GFM behaviour when parsing links without a http prefix.
Previously, `www.google.com` would be parsed into `<a href="www.google.com">www.google.com</a>`.
With this fix, showdown behaves like GFM, and the result is `<a href="http://www.google.com ">www.google.com</a>`
Closes #284 , closes #285
2016-08-19 19:12:25 +01:00
Estevão Soares dos Santos
e0726a6e42
feature(evt_listeners): make globals var accessible to listeners
2016-03-20 17:08:44 +00:00
Estevão Soares dos Santos
f4cb29e05a
Merge branch 'develop' into feature/event_mediator
...
Conflicts:
dist/showdown.js
dist/showdown.js.map
dist/showdown.min.js
dist/showdown.min.js.map
src/converter.js
src/subParsers/blockGamut.js
src/subParsers/codeSpans.js
2015-10-19 03:20:20 +01:00
Estevão Soares dos Santos
8ebb25e486
fix(simpleautolink): fix mail simpleAutoLink to ignore urls with @ symbol
...
Urls with @ symbol will not be incorrectly converted to mail addressed
Closes #204
2015-10-07 04:46:28 +01:00
Estevão Soares dos Santos
7dc3fb1d25
fix(simpleAutoLinks): fix emails being treated as simple urls
...
Closes #187
2015-08-11 05:58:54 +01:00
Estevão Soares dos Santos
2734326e19
feat(eventDispatcher): add an event dispatcher to converter
2015-08-03 03:47:49 +01:00
Estevão Soares dos Santos
cff0237299
feat(simplifiedAutoLink): add support for GFM autolinks
...
Github Flavored Markdown detects urls and mails embeded in the text without any extra markup or delimiter.
This commit adds this feature to showdown through an option called "simplifiedAutoLink".
Related to #164
2015-07-11 02:42:53 +01:00
Estevão Soares dos Santos
0da9626408
chore(): code fix to pass jscs linter
2015-01-19 14:57:43 +00:00
Estevão Soares dos Santos
79829dbbf1
chore(): code style fix and tests fix due to code style changes
2015-01-19 12:04:22 +00:00
Estevão Soares dos Santos
8b000b134a
chore(all): code style change
2015-01-19 11:37:21 +00:00
Estevão Soares dos Santos
eae5f0e01f
Major code refactoring
2015-01-15 21:21:33 +00:00