Commit Graph

630 Commits

Author SHA1 Message Date
Estevao Soares dos Santos
66bdd21312 fix(tables): trailing spaces no longer prevent table parsing
If there were a trailing space following the closing | of a single column
table, the table does not get rendered. This fixes the issue.

Closes #442
2017-10-06 12:52:20 +01:00
Estevao Soares dos Santos
d88b095f05 fix(tables): tables are properly rendered when followed by a single linebreak and a list
Closes #443
2017-10-06 12:38:01 +01:00
Estevao Soares dos Santos
a207da1d5f fix changelog 2017-10-02 05:23:43 +01:00
Estevao Soares dos Santos
2701516048 Merge branch 'develop' 2017-10-02 05:21:59 +01:00
Estevao Soares dos Santos
1033467d8b release 1.7.5 2017-10-02 05:21:06 +01:00
Estevao Soares dos Santos
3efcd101a2 fix(html-comments): changed regex to precent malformed long comment to freeze showdown
Closes #439
2017-10-02 05:18:10 +01:00
Estevão Soares dos Santos
01111aa538 Update DONATIONS.md 2017-10-01 23:47:03 +01:00
Estevão Soares dos Santos
3ee677897b Create DONATIONS.md 2017-10-01 23:44:46 +01:00
Estevão Soares dos Santos
6e485382d3 Update README.md 2017-10-01 23:39:35 +01:00
Estevão Soares dos Santos
406b165d19 Update CONTRIBUTING.md 2017-09-29 12:26:53 +01:00
Estevão Soares dos Santos
395e61cd2f Update CONTRIBUTING.md 2017-09-29 12:13:10 +01:00
greenkeeper[bot]
16915355fc chore(package): update sinon to version 4.0.0 (#435) 2017-09-29 03:46:39 +01:00
greenkeeper[bot]
74d57c1648 fix(package): update yargs to version 9.0.1 (#432) 2017-09-29 03:46:18 +01:00
greenkeeper[bot]
d99caf3430 chore(package): update grunt-contrib-uglify to version 3.1.0 (#430) 2017-09-29 03:45:58 +01:00
Estevao Soares dos Santos
0627e497e3 release 1.7.4 2017-09-08 20:47:46 +01:00
Estevao Soares dos Santos
8c593a4f11 feat(base64-wrapping): support for wrapping base64 strings
Wrapping base64 strings, which are usually extremely long lines of text, is now supported.
Newlines can be added arbitrarily, as long as they appear after the comma (,) character.

Closes #429
2017-09-08 20:46:01 +01:00
Jason Mitchell
ff24bdba9f fix(loader): allow AMD loader to be used within Node env
Because of the ordering of the loader, it's not possible use AMD within a Node environment.
2017-08-27 19:20:48 +01:00
Jason Mitchell
466a2eba94 fix(helper.isArray): replace a.constructor === Array with Array.isArray
a.constructor === Array is always falsey when you run showdown within Node's VM API.

Related to https://github.com/nodejs/node/issues/7351

Closes #425
2017-08-26 03:46:38 +01:00
Estevao Soares dos Santos
48ccbf848d chore(package): update sinon to version ^3.2 2017-08-23 23:06:06 +01:00
greenkeeper[bot]
d3217f1d86 chore(package): update sinon to version 3.1.0 (#419) 2017-08-23 23:03:46 +01:00
Estevao Soares dos Santos
671797dc61 fix changelog 2017-08-23 23:02:56 +01:00
Estevao Soares dos Santos
dedf130806 release v1.7.3 2017-08-23 22:56:30 +01:00
Estevao Soares dos Santos
cb2ef8a93c Merge branch 'develop' 2017-08-23 22:38:36 +01:00
Estevao Soares dos Santos
d8204e9bcd docs(README.md): small fix in README.md 2017-08-23 22:35:19 +01:00
Estevao Soares dos Santos
ff26c08904 feat(rawPrefixHeaderId): add option to prevent showdown from modifying the prefix
Setting this option to true will prevent showdown from modifying the
prefix. This might result in malformed IDs (if, for instance, the " char is
used in the prefix). Has no effect if prefixHeaderId is set to false.

Closes #409
2017-08-06 18:19:46 +01:00
Estevao Soares dos Santos
5284439edc fix(github flavor): add backslashEscapesHTMLTags to GFM flavor 2017-08-06 17:53:06 +01:00
Estevao Soares dos Santos
c266f62dde chore(readme.md): format and add references to readme.md 2017-08-06 17:51:29 +01:00
Estevao Soares dos Santos
1791cf0ebf feat(rawHeaderId): Remove only spaces, ' and " from generated header ids
This option removes only spaces, ' and " from generated Header IDs,
replacing them with dashes. This might generate malformed IDs.

Closes #409
2017-08-06 17:45:04 +01:00
greenkeeper[bot]
5fbff6f40a chore(package): update chai to version 4.0.2 (#396) 2017-08-05 03:40:09 +01:00
Estevao Soares dos Santos
fef110cccb Fix(tables): allow for one column table
Closes #406
2017-08-05 03:34:49 +01:00
Estevao Soares dos Santos
8f05be7788 fix(literalMidWordAsterisks): fix option no longer treat punctuation as word character
Closes #398
2017-08-05 02:52:03 +01:00
Estevão Soares dos Santos
7332582db3 chore(package): update sinon to version 2.4.0 (#417)
Closes #402
2017-08-05 01:51:09 +01:00
Estevão Soares dos Santos
dc20acb615 chore(package): update semver to version 5.4.1 (#416) 2017-08-05 01:50:02 +01:00
Estevao Soares dos Santos
209e9f134a release 1.7.2 2017-08-05 01:43:46 +01:00
Estevao Soares dos Santos
0bc7bd1bd8 Merge branch 'develop' 2017-08-05 01:39:24 +01:00
Estevao Soares dos Santos
51e46933a4 fix(tablesHeaderId): fix missmatch of option name
In code, the option appeared both as 'tableHeaderId' and 'tablesHeaderId',
although only the first form had effect. In documentation was referenced
as 'tablesHeaderId'.
Option is now fixed in code to reflex the documentation and table parser
accepts both forms, with and without an s.

Closes #412
2017-08-04 20:19:15 +01:00
Estevão Soares dos Santos
2f6b49aece Update README.md 2017-06-28 17:35:52 +01:00
Estevão Soares dos Santos
22203769a8 Update README.md 2017-06-28 17:35:06 +01:00
Estevão Soares dos Santos
b94acfadb6 chore: fix REAMDE.md
Closes #407
2017-06-28 17:34:47 +01:00
Tobi
1194d8803e fix(githubMentions): githubMentions now works with openLinksInNewWindow options
githubMentions links can now be opened in new windows when using the option openLinksInNewWindow

Closes #403
2017-06-22 03:16:53 +01:00
greenkeeper[bot]
796896cb35 chore(package): update sinon to version 2.3.3 (#399) 2017-06-12 16:18:14 +01:00
Estevao Soares dos Santos
a2259c063b fix(lists): fix multi paragraph lists with sublists
Paragraphed lists with sublists were being parsed incorrectly due to
workaround realted with simpleLineBreaks. This commit fixes this.

Closes #397
2017-06-07 03:33:20 +01:00
Estevão Soares dos Santos
d28bbb159c Update CHANGELOG.md 2017-06-07 03:02:22 +01:00
Estevao Soares dos Santos
5a5aff6721 feat(backslashEscapesHTMLTags): backslash escapes HTML tags
Add support for HTML tag escaping with backslash

Closes #374
2017-06-02 04:48:53 +01:00
Estevao Soares dos Santos
4109aae068 docs: update changelog minor error 2017-06-02 03:35:18 +01:00
Estevao Soares dos Santos
ce3150e74a release 1.7.1 2017-06-02 03:32:04 +01:00
Estevao Soares dos Santos
427859b3f7 chore: remove strayed counter 2017-06-02 03:30:01 +01:00
Estevao Soares dos Santos
6566c72cc1 fix(HTML Parser): fix nasty bug where malformed HTML would hang showdown
When feeding malformed HTML to showdown, the library would enter an infinite loop,
effectively halting showdown's execution.

Closes #393
2017-06-02 03:29:29 +01:00
Estevao Soares dos Santos
1eee6afe29 release 1.7.0 2017-06-01 02:44:43 +01:00
Estevao Soares dos Santos
6a1f289d39 Merge remote-tracking branch 'origin/master' into develop 2017-06-01 02:39:47 +01:00