Commit Graph

493 Commits

Author SHA1 Message Date
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
799abea767 fix(parser): fix issue with comments inside nested code blocks
Code blocks containing comments are now converted correctly when nested in list items.

Closes #288
2016-08-30 06:07:57 +01:00
Estevao Soares dos Santos
5d2016c0c1 release 1.4.3 2016-08-19 19:14:12 +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
Estevao Soares dos Santos
984942e239 fix(ie8 compatibility): Improve ie8 compatibility
Several fixes to improve compatibility with Internet Explorer 8

Closes #275, Closes #271
2016-07-20 22:26:15 +01:00
Estevao Soares dos Santos
faf74aa899 Merge branch 'develop' 2016-07-20 22:11:25 +01:00
Estevao Soares dos Santos
bb36e7d203 . 2016-07-20 22:10:56 +01:00
Estevao Soares dos Santos
740f580f11 Merge branch 'master' of https://github.com/showdownjs/showdown
# Conflicts:
#	dist/showdown.js
#	dist/showdown.js.map
#	dist/showdown.min.js
#	dist/showdown.min.js.map
2016-07-20 22:07:49 +01:00
Estevao Soares dos Santos
238726ca91 fix(comments): Fix html comment parser
When an html comment was followed by a a long line of dashes, it would
freeze the parser as the lookahead in the html comment parser regex was
very slow. The regex was modified and simplified, so no lookahead is
needed anymore.

Closes #276
2016-07-20 22:01:10 +01:00
Estevão Soares dos Santos
be2ffc1845 Merge pull request #271 from butchmarshall/master
fix(IE8): Fix IE8 regex compatability
2016-06-27 20:34:49 +01:00
Butch Marshall
cc4cdf7306 Ran build 2016-06-27 15:58:35 +00:00
Butch Marshall
682bbbeca4 Fixed IE8 regex compatability 2016-06-27 15:43:51 +00:00
Estevão Soares dos Santos
b9c881dfc2 Merge pull request #268 from heroandtn3/master
fix(license.txt): Normalize line endings in license.txt

closes #268
2016-06-21 17:42:51 +01:00
GTH Bot
4ab11aa834 Normalize line endings 2016-06-21 13:56:56 +07:00
Estevao Soares dos Santos
9b5a2330f6 fix(bower): fix sourceMappingURL errors in bower by including source
closes #200
2016-06-21 02:34:49 +01:00
Estevão Soares dos Santos
b76048cf22 Update CHANGELOG.md 2016-06-21 02:27:46 +01:00
Estevao Soares dos Santos
04c296e3b9 release 1.4.2 2016-06-21 02:11:27 +01:00
Estevao Soares dos Santos
3de3a0bc3a chore: force gir binary mode on dist files 2016-06-21 02:03:51 +01:00
Estevao Soares dos Santos
413511c731 chore: fix line endings, enforcing lf in js files 2016-06-21 02:01:22 +01:00
Estevao Soares dos Santos
8591ec8196 Merge branch 'develop' into feature/source_indentation_auto_removal 2016-06-21 01:42:50 +01:00
Estevão Soares dos Santos
73206b07fb fix(image-parser): fix ref style imgs after inline style imgs not parsing correctly
When reference style and inline style are mixed together, in the same line, it produces weird parsing bugs. This commit fixes this

Closes #261
2016-06-08 17:16:49 +01:00
Estevão Soares dos Santos
261f127f7e feat(smart-indent-fix): fix for es6 identation problems
Closes #259
2016-06-07 01:23:52 +01:00
Estevão Soares dos Santos
d91586b09b Merge pull request #257 from stewartmckee/fixed_undefined_text_on_codespans
Added check for undefined on text due to failing to parse tables
2016-05-28 15:33:12 +01:00
Stewart McKee
6e30a48890 added check for undefined on text due to failing to parse tables 2016-05-24 10:26:59 +01:00
Estevão Soares dos Santos
94ec12b12d release 1.4.1 2016-05-17 21:33:56 +01:00
Estevão Soares dos Santos
6699f46779 Merge branch 'develop' of https://github.com/showdownjs/showdown into develop
# Conflicts:
#	dist/showdown.js
#	dist/showdown.js.map
#	dist/showdown.min.js
#	dist/showdown.min.js.map
2016-05-17 21:31:34 +01:00
Estevão Soares dos Santos
ddaacfc41a fix(tables): fix table heading separators requiring 3 dashes instead of 2
Closes #256
2016-05-17 21:27:40 +01:00
Estevão Soares dos Santos
e586201025 release 1.4.0 2016-05-13 16:28:47 +01:00
Estevão Soares dos Santos
77007181d8 Merge branch 'master' into develop 2016-04-26 19:19:00 +01:00
Estevão Soares dos Santos
478a0e4fca Merge pull request #251 from samb0t/case-insensitive-checkboxes
Support for case-insensitive checkboxes for render. [x] == [X]
2016-04-26 16:21:06 +01:00
Sam Bottoni
656aa98305 Support for case-insensitive checkboxes for render. [x] == [X] 2016-04-26 09:08:50 -05: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
452c4285f4 Update README.md 2016-03-20 16:48:42 +00:00
Estevão Soares dos Santos
7fabc78ff6 Merge pull request #248 from Hypercubed/patch-1
docs(readme): Added link to SystemJS/JSPM plugin
2016-03-20 16:46:54 +00:00
Jayson Harshbarger
70a6caaf4f docs(readme): Added link to SystemJS/JSPM plugin 2016-03-20 13:32:57 +09:00
Estevão Soares dos Santos
6e5073d977 chore: remove html beautify from tests 2016-02-02 00:29:06 +00:00
Estevão Soares dos Santos
6412eadf29 fix weird travis issue try 1 2016-02-01 03:56:22 +00:00
Estevão Soares dos Santos
ac89fb918b buiuld 2016-02-01 03:49:56 +00:00
Estevão Soares dos Santos
f58f014bc3 fix(tables): fix tables to match github's md spec
Now Leading and trailing pipes (|) are optional in tables

Closes #230
2016-01-25 05:24:54 +00:00
Estevão Soares dos Santos
8d0cf545b8 Merge branch 'master' into develop 2016-01-25 03:04:33 +00:00
Estevão Soares dos Santos
71a5873902 fix(HTMLParser): fix code tags parsing
Closes #231
2016-01-25 03:01:54 +00:00
Estevão Soares dos Santos
4c68452999 chore: remove stray console.log 2016-01-25 01:16:51 +00:00
Estevão Soares dos Santos
7d0436d210 fix(HTMLParser): fix ghCodeBlocks being parsed inside code tags
When using html pre/code tags to wrap github's fenced code block syntax,
showdown would parsed them instead of treating them like plain code.

Closes #229
2016-01-25 01:04:06 +00:00
Estevão Soares dos Santos
f4d50dc13b Merge pull request #228 from Amomo/patch-1
update license field in package.json
2016-01-20 05:28:53 +00:00
Amo Chen
b1b49bafc1 update license field in package.json 2016-01-20 10:46:43 +08:00
Estevão Soares dos Santos
e8852a83bb refactor: clean regex helper functions 2016-01-02 01:16:40 +00:00
Estevão Soares dos Santos
c97f1dc6b1 feat(markdown="1"): enable parsing markdown inside HTML blocks
Enable parsing markdown inside HTML blocks if those blocks have an attribute called markdown="1".
This feature is EXPERIMENTAL! As such, the behavior might change on future releases.

Closes #178
2016-01-02 01:08:17 +00:00
Estevão Soares dos Santos
2746949d7d fix(hashHTMLBlock): fix issue with html breaking markdown parsing
Closes #220
2016-01-01 23:33:33 +00:00
Estevão Soares dos Santos
1011c0f7ac Merge pull request #225 from adamcarr/master
fix(amd): remove define module name as it breaks aliasing the module name
2015-12-26 02:17:29 +00:00
Adam Carr
74470ededa removing define module name as it breaks aliasing the module name 2015-12-22 20:24:53 -08:00