Commit graph

315 commits

Author SHA1 Message Date
Michel Fortin
123c43a65c Merge pull request #165 from donatj/patch-1
Remove trailing ?>
2014-05-15 15:49:30 -04:00
Jesse Donat
15b78173a9 Remove trailing ?> 2014-05-14 16:57:13 -05:00
Michel Fortin
de9a19c7bf Added donation section in Readme. 2014-05-04 22:43:50 -04:00
Michel Fortin
0fc413a1f9 Bumped version to 1.4.1, updated version history and copyright year. 2014-05-04 21:52:07 -04:00
Michel Fortin
b39fb9b4bc Hack to fix [link](<s p a c e s>).
Fixes #80.
2014-05-04 21:30:14 -04:00
Michel Fortin
c0a3a825d4 HTML block parser now aware of the style tag.
Fixes #103.
2014-05-04 21:12:28 -04:00
Michel Fortin
ef94eba90a Removing unused variable $marker_any_re in doLists.
Fixes #121.
2014-05-04 21:08:33 -04:00
Michel Fortin
92c726ac67 Link reference following a footnote definition without a separating blank line gets swallowed as text in the footnote.
Fixes #123.
2014-05-04 21:07:24 -04:00
Michel Fortin
de989d7c21 Case <"A"@example.com>. Quotes not properly escaped inside the href attribute.
Fixes #139.
2014-05-04 21:06:26 -04:00
Michel Fortin
97e594d329 Merge branch 'lib' of git://github.com/s9e/php-markdown into lib 2014-05-04 20:20:26 -04:00
Michel Fortin
de359a30d5 HTML blocks don’t need to be separated by a blank line to with Markdown.pl, PHP Markdown should work the same. 2014-05-04 19:15:28 -04:00
Michel Fortin
fa9d0bce17 Merge branch 'useless_ref_this' of git://github.com/olvlvl/php-markdown into lib
Conflicts:
	Michelf/Markdown.php
2014-05-04 17:56:50 -04:00
Fred LeBlanc
7b5870007b Add 'figure' to list of block-level elements in _MarkdownExtra_TmpImpl 2014-02-16 16:20:08 -05:00
s9e
c44cf320c1 Simplified strong/emphasis regexps
(?<=\S|^) becomes (?<!\s)
(?=\S|$)  becomes (?!\s)
(?<!\s)(?<!\*) becomes (?<![\s*])
(?<!\s)(?<!_)  becomes (?<![\s_])
(?!\s)(?![\.,:;]\s) becomes (?![\.,:;]?\s)
2014-01-17 03:48:17 +01:00
Michel Fortin
6f952ee180 Fixed redundant redundancy error in Readme. 2013-11-29 16:49:31 -05:00
Michel Fortin
96d8150406 Fixed reference to how to do things without autoloading to point to the new section. 2013-11-29 12:09:24 -05:00
Michel Fortin
ea0f066378 Reworked intro in Readme. 2013-11-29 12:08:48 -05:00
Michel Fortin
efcf20752d Bumped version to 1.4.0, updated Readme. 2013-11-29 11:21:23 -05:00
Michel Fortin
1027677aa6 Removing leftover from bad merge. 2013-11-29 08:05:54 -05:00
Michel Fortin
2aa776f445 Removed notice about undefined variable. 2013-11-28 21:59:22 -05:00
Michel Fortin
466d523895 Made _MarkdownExtra_TmpImpl abstract, because you shouldn’t create instances of it.
The whole class is a temporary implementation detail and will disappear in a future version. Do yourself a favor and use `\Michelf\MarkdownExtra`.
2013-11-28 21:42:38 -05:00
Michel Fortin
353704d882 Removed repeated semicolon.
Fixes #124.
2013-11-28 21:22:44 -05:00
Michel Fortin
b3e016bd2a Merge branch 'extra' into lib
Conflicts:
	Michelf/Markdown.php
	PHP Markdown Extra Readme.text
2013-11-28 21:18:56 -05:00
Michel Fortin
0ed3a967ef Updated version history. 2013-11-28 21:16:12 -05:00
Michel Fortin
4742d28fab Merge branch 'master' of git://github.com/derflocki/php-markdown into extra 2013-11-28 21:08:04 -05:00
Michel Fortin
eed120d39a Added ".inc.php" files in the Michelf directory.
Fixes #135.
2013-11-28 20:49:23 -05:00
Michel Fortin
79fd7728f2 Fixed some issues with fenced code blocks.
HTML block parser was confusing backtick fenced code blocks with
code spans, which has no consequence most of the time but could
be problematic if you're writing code spans inside of the code block.
Code span markers are now matched only when backtick fence matching
has failed.

Fixed an issue were two consecutive fenced code blocks with no
blank line between them which was causing the next paragraph to
become a code block (with both tilde and backtick fences).
2013-11-28 19:53:06 -05:00
Jason Caldwell
85ead87f4a GFM-Style Fenced Code Blocks Only (no lang attribute)
Removing the additional code that I applied previously to implement the `data-lang` attribute. In retrospect, this was a bad idea; as the existing implementation does a good job with this already when used properly.

Many thanks to Michel Fortin for his help in accomplishing these changes :-) I hope this might be merged into the official copy at some point in the future.
Conflicts:
	markdown.php
2013-11-28 19:52:51 -05:00
Jason Caldwell
db9ef53240 Improving GFM-Style Fenced Code Blocks; and Updating to data-lang="". 2013-11-28 19:51:43 -05:00
Jason Caldwell
b2c76a3804 GFM Enhancements (Backticks)
- Adding support for GFM backticks ``` (for fenced code blocks); in additional to ~~~ already supported in Markdown Extra.
- Adding support for GFM language marker; e.g. ```php
Conflicts:
	markdown.php
2013-11-28 19:51:20 -05:00
Michel Fortin
cee0b029c8 Merge branch 'interface' of git://github.com/itafroma/php-markdown into lib 2013-11-28 16:34:54 -05:00
Michel Fortin
d6ed0d0803 Fixed some issues with fenced code blocks.
HTML block parser was confusing backtick fenced code blocks with
code spans, which has no consequence most of the time but could
be problematic if you're writing code spans inside of the code block.
Code span markers are now matched only when backtick fence matching
has failed.

Fixed an issue were two consecutive fenced code blocks with no
blank line between them which was causing the next paragraph to
become a code block (with both tilde and backtick fences).
2013-11-28 16:19:35 -05:00
Michel Fortin
05d1f999ec Removed rev="footnote" from HTML output.
The `rel` attribute was removed a while ago, but for some reason `rev` stayed. It shouldn’t.
2013-11-28 15:20:57 -05:00
Michel Fortin
ab94f5c4c5 Merge branch 'lib' of git://github.com/JasWSInc/php-markdown into lib 2013-11-28 15:10:23 -05:00
Michel Fortin
fe2c74424e Added instructions in the Readme about submitting pull requests, with reference to MDTest.
Fixes #114.
2013-11-28 10:21:43 -05:00
Michel Fortin
2b13410202 Merge branch 'patch-1' of git://github.com/Cangit/php-markdown into lib 2013-11-28 09:51:56 -05:00
David Angel
2d578a8607 Minor documentation typo fix.
‘praser’ to ‘parser’
2013-11-25 15:20:06 -05:00
Cangit
91e0abc040 Update Readme.md
Typo fix in version number.
2013-11-19 11:06:15 +01:00
Jason Caldwell
ab786ae1d5 GFM-Style Fenced Code Blocks Only (no lang attribute)
Removing the additional code that I applied previously to implement the `data-lang` attribute. In retrospect, this was a bad idea; as the existing implementation does a good job with this already when used properly.

Many thanks to Michel Fortin for his help in accomplishing these changes :-) I hope this might be merged into the official copy at some point in the future.
2013-10-13 00:14:12 -07:00
Jason Caldwell
149e0dccc1 Improving GFM-Style Fenced Code Blocks; and Updating to data-lang="". 2013-09-30 22:58:34 -07:00
Jason Caldwell
2383db7cd6 GFM Enhancements (Backticks)
- Adding support for GFM backticks ``` (for fenced code blocks); in additional to ~~~ already supported in Markdown Extra.
- Adding support for GFM language marker; e.g. ```php
2013-09-23 03:59:54 -07:00
Florian Dorn
b16addc663 added support for the tel: url-scheme 2013-09-12 17:16:10 +02:00
Michel Fortin
9dbd8352de Merge branch 'lib' of git://github.com/donatj/php-markdown into lib 2013-08-02 06:50:14 -04:00
Jesse Donat
63921893d0 Excluded trailing ?>'s on class code per PSR-2 Subheading 2.2
"The closing ?> tag MUST be omitted from files containing only PHP"
2013-07-31 12:16:32 -05:00
Michel Fortin
7515e20f95 Removed a forgotten paragraph in the readme that does no longer apply in the lib version. 2013-07-27 22:48:05 -04:00
Olivier Laviale
27387d3fe4 Removed useless object referencing 2013-07-24 11:14:13 +02:00
Michel Fortin
f7f33720a6 Merge branch 'lib' of git://github.com/yosymfony/php-markdown into lib 2013-07-16 12:38:13 -04:00
YoSymfony
a315693e5e Fixed the configuration variables links 2013-07-16 18:21:19 +02:00
Claus Due
b496f5410c Unify indentations to tabs in composer.json 2013-07-01 18:20:03 +02:00
Mark Trapp
b2dd8b41cf Add interface. 2013-05-10 22:22:50 -07:00