Commit Graph

27 Commits

Author SHA1 Message Date
Estevao Soares dos Santos
307d135e0a tests(images): fix standard testsuite images test 2015-06-08 03:59:40 +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
509a1d37b4 chore(tests) fix test that didn't merge correctly 2015-05-14 03:04:52 +01:00
Estevão Soares dos Santos
612c8ce661 Merge branch 'showdown2' 2015-05-14 03:01:03 +01:00
Estevão Soares dos Santos
fb3e0ba3bc fix(subParsers/hashHTMLBlocks.js): fix rendering problems with html5 block elements.
Some HTML5 block elements were not being properly ignored. This caused problems in rendering markdown as showdown would add additional <br /> to some block elements.
This commit should fix this issue.

Closes #90, closes #140, closes #147
2015-04-23 21:51:32 +01:00
Estevão Soares dos Santos
c06d500a90 Revert "Add missing block elements" 2015-04-22 22:26:05 +01:00
Hannah Wolfe
36daa99339 Add missing block elements
fixes #90
2015-03-16 16:27:16 +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
c367a4b9a1 feat(uniqueHeaderId): add unique id prefix and suffix to headers
If two headers have similar texts, the generated id could be equal. In order to prevent id clash:
  - A unique suffix is added if a header id already exists
  - Option to add a prefix to header id
  - Update of correspondent tests
  - (credits to nicovalencia)

Closes #81, closes #82
2015-01-18 02:12:32 +00:00
Estevão Soares dos Santos
f938d2b8aa test(emphasis): add more test scenarios to emphasis 2015-01-16 23:03:38 +00:00
Estevão Soares dos Santos
3bbe4e2ef1 test(emphasis): change test to match original spec test 2015-01-16 22:17:25 +00:00
Estevão Soares dos Santos
eae5f0e01f Major code refactoring 2015-01-15 21:21:33 +00:00
Corey Innis
374669bb49 post-merge (unwiredben) update html5 structural tests
to be sure the previous test incarnations continued to work.
2012-10-31 00:32:30 -07:00
Corey Innis
9075cdc080 Merge remote-tracking branch 'unwiredben/master' 2012-10-31 00:30:23 -07:00
unwiredben
9b297fa877 Remove unnecessary "match anything" test that caused excessive run time on some mixed content
Update HTML5 structural tags test to also verify correctness this regexp and the previous one.

Signed-off-by: unwiredben <combee@techwood.org>
2012-09-08 14:17:52 -05:00
Titus
90e51e95cc Added test for #25. Looks to be working. 2012-08-11 07:02:41 -06:00
Titus
541b3eccb1 Fixed #26 -- Urls which contained matched parenthesis are now supported 2012-08-09 20:13:59 -06:00
Titus
bab6b888ef Added support for new HTML5 structural tags to "pass through" without being wrapped in a <p> 2012-06-14 00:52:20 -06:00
Titus
c2e28da129 Added test case for #10 -- Seems to be working correctly 2012-06-14 00:44:58 -06:00
Titus
3e00e5a2d1 Fixed #11 -- <style> tags are now not wrapped in <p>'s + test case for this 2012-06-14 00:42:15 -06:00
Titus
a3a07eaac6 Updated nested blockquote test case to proper markdown syntax 2012-06-14 00:35:47 -06:00
Titus
f3f928084e Fixed #21 -- Github codeblocks can now contain back ticks 2012-06-14 00:09:58 -06:00
Titus
fa38885994 Added test case for github codeblock at start of string 2012-06-14 00:08:49 -06:00
Titus
b48c06fe72 Fixed mistake in github codeblock test 2012-06-13 23:43:46 -06:00
tstone
d16e675ae8 Added testing suite 2012-06-13 23:05:31 -06:00