Commit Graph

488 Commits

Author SHA1 Message Date
Estevao Soares dos Santos
42240ba82c test: add karlcow's testsuite
Also refactor tests to improve maintainability
2015-06-11 01:29:42 +01:00
Estevão Soares dos Santos
6f01208836 chore(subParsers/images): fix jshint error
Quick fix for jshint error that was preventing Travis to test the lib properly
2015-06-10 14:09:59 +01:00
Estevao Soares dos Santos
9a2411b05f fix(subParsers/stripLinkDefinitions): fix title attribute in link definitions
According to spec, the title attribute in link definitions can be wrapped in single quotes. Previously, showdown didn't support this.
Now the title attribute can be wrapped in single quotes.
2015-06-08 04:16:58 +01:00
Estevao Soares dos Santos
307d135e0a tests(images): fix standard testsuite images test 2015-06-08 03:59:40 +01:00
Estevao Soares dos Santos
e27e16bdc5 fix(subParsers/images.js): fix empty title attribute in img tags
This big was introduced on purpose to mimic markdown.pl. Since we no longer match our development with that library,
it makes no sense to keep it.
2015-06-08 03:57:18 +01:00
Estevao Soares dos Santos
3a71b66d24 fix(subParsers/headers); fix bug introduced with noHeaderId option 2015-06-08 03:51:43 +01:00
Estevao Soares dos Santos
7ac893e93b feat(noHeaderId): add option to suppress automatic generation of ids in headers
Passing the option `noHeaderId; true` to showdown or showdown converter removes the automatic generation of header ids
2015-06-08 03:41:14 +01:00
Estevao Soares dos Santos
6cbc585fc0 tests(issue_142): add tests for issue #142 2015-06-08 02:40:33 +01:00
Estevao Soares dos Santos
dcbdc61e9d fix(output modifiers): fix for output modifiers running twice
Output modifiers were being ran twice. This commit fixes that
2015-06-07 19:17:02 +01:00
Estevao Soares dos Santos
4ebd0caa27 feature(extensionLoading): add support to legacy extensions in the new extension mechanism
Old extensions that register themselves in `showdown.extensions` can be loaded and validated using the new extension loading mechanism.
However, a warn is issued, alerting users and developers that the extension should be updated to use the new mechanism

BREAKING CHANGE: Deprecates `showdown.extensions` property. To migrate, you should use the new method `showdown.extension(<ext name>, <extension>)` to register the extension.
2015-06-07 19:02:45 +01:00
Stefano Brilli
db46922e19 New build 2015-06-07 13:16:47 +02:00
Stefano Brilli
b63baee9f5 Fix the bug by removing duplicated codeblock
See src/subParsers/outputModifiers.js
2015-06-07 13:15:40 +02:00
Stefano Brilli
da598d64e4 Add test to reproduce the bug 2015-06-07 13:15:18 +02:00
Estevao Soares dos Santos
e7cb15f1e9 style(converter.js): fix missing semi colon 2015-06-03 02:50:57 +01:00
Estevao Soares dos Santos
d86ed450a8 fix(converter.js): add error if the passed argument is not an object 2015-06-03 01:29:44 +01:00
Estevão Soares dos Santos
33f64f60c9 feature(extensionLoading): refactor extension loading mechanism 2015-05-31 20:56:28 +01:00
Estevão Soares dos Santos
c6b60f12fa test(converter.makeHtml): refactor test to improve readability 2015-05-31 18:47:09 +01:00
Estevão Soares dos Santos
fec5b8e219 chore(Gruntfile.js): use grunt-load-tasks to load tasks
Also add spaces between sections to improve readability
2015-05-31 18:45:33 +01:00
Estevão Soares dos Santos
f2f01fb65c chore(package.json): bump minor version and add load-grunt-tasks and sinon to dev dependencies 2015-05-31 18:43:31 +01:00
Estevão Soares dos Santos
678348d060 chore(helpers.js): add console polyfill so we can trigger warnings reliably 2015-05-31 13:08:15 +01:00
Estevão Soares dos Santos
f8a81373fe build(.editorconfig): fix editorconfig 2015-05-31 13:06:42 +01:00
Estevão Soares dos Santos
86353c1ee8 docs(README.md): add link to XSS Vulnerability wiki page 2015-05-30 00:13:47 +01:00
Estevão Soares dos Santos
40bdf1488c Merge branch 'master' into develop 2015-05-30 00:10:46 +01:00
Estevão Soares dos Santos
e3a4541ab3 Revert "fix(suparsbers/lists.js): fix odd behavior for multiple consecutive lists"
This reverts commit 11f32e04a6.
2015-05-30 00:10:21 +01:00
Estevão Soares dos Santos
11f32e04a6 fix(suparsbers/lists.js): fix odd behavior for multiple consecutive lists 2015-05-30 00:09:30 +01:00
Estevão Soares dos Santos
06ad6c2e05 docs(README.md): add mention to XSS vulnerability 2015-05-29 22:20:50 +01:00
Estevão Soares dos Santos
1a07f3cc32 docs(README.md): add reference to changelog 2015-05-29 18:56:24 +01:00
Estevão Soares dos Santos
11ce2f8d12 docs(CHANGELOG.md): add reference to extensions 2015-05-29 18:54:39 +01:00
Estevão Soares dos Santos
a3b412c502 bump version, Changelog and Credits 2015-05-28 22:35:56 +01:00
Estevão Soares dos Santos
5facec4a23 Release version 1.0.2 2015-05-28 22:30:57 +01:00
Estevão Soares dos Santos
049da4ad90 Merge branch 'develop' 2015-05-28 21:49:44 +01:00
Estevão Soares dos Santos
a422e69604 Merge pull request #156 from acourtiol/bugfix/add-missing-comma
fix(build): add missing comma in footer
2015-05-28 21:47:06 +01:00
Estevão Soares dos Santos
4a0ec47402 chore(package.json): add keywords to package.json 2015-05-28 21:45:00 +01:00
Estevão Soares dos Santos
b5e31e60f1 docs(README.md): add gitter badge and CDN info to README.md 2015-05-28 21:44:25 +01:00
Estevão Soares dos Santos
cc6236455f chore(.travis.yml): add travis notifications to gitchat 2015-05-28 21:43:34 +01:00
Alexandre Courtiol
53155088cb fix(build): add missing comma in footer 2015-05-28 13:50:57 +02:00
Estevão Soares dos Santos
34a155733b Merge branch 'develop' 2015-05-27 23:50:48 +01:00
Estevão Soares dos Santos
b9ecfa3ae6 bump patch 2015-05-27 23:50:28 +01:00
Estevão Soares dos Santos
bc3a092f9d fix(bower.json): update bower.json main attribute to point to dist directory 2015-05-27 23:49:14 +01:00
Estevão Soares dos Santos
de44a70a25 docs(README.md): add link to extensions wiki 2015-05-27 23:46:39 +01:00
Estevão Soares dos Santos
d87d11d642 docs(README.md): remove superfluous information
Remove the parts about creating an extension and know deviations from original (no longer relevant)
2015-05-27 23:34:57 +01:00
Estevão Soares dos Santos
2b76b6473d docs(README.md): fix typo 2015-05-27 16:39:54 +01:00
Estevão Soares dos Santos
2baf7bf709 RELEASE 1.0.0 2015-05-27 16:36:53 +01:00
Estevão Soares dos Santos
45d5e01e16 docs(README.md): add note for legacy branch 2015-05-27 16:31:04 +01:00
Estevão Soares dos Santos
d54b148293 chore(CHANGELOG.md): update changelog 2015-05-27 02:23:04 +01:00
Estevão Soares dos Santos
1c80fcc2cf chore(grunt): add bump grunt taks 2015-05-27 02:21:36 +01:00
Estevão Soares dos Santos
c31aacceec docs(README.md): add options section 2015-05-27 02:20:29 +01:00
Estevão Soares dos Santos
2a4a2bdf21 test(option.prefixHeaderId): add tests for prefixHeaderId option 2015-05-27 01:48:49 +01:00
Estevão Soares dos Santos
6492e74c5b docs(showdown.options): fix jsdocs for methods setOption, getOption and getOptions 2015-05-27 01:43:08 +01:00
Estevão Soares dos Santos
51167c810d style(tests): remove unecessary comment in testMakeHtml 2015-05-27 01:39:29 +01:00