Graham Campbell
75b1551956
Fixed failing travis builds
2019-12-28 14:38:00 +00:00
Michel Fortin
c83178d49e
Bumping version to 1.9.0.
2019-12-01 21:32:27 -05:00
Michel Fortin
5e2c895aaa
Updating copyright dates.
2019-12-01 21:29:53 -05:00
Michel Fortin
d6d03c1542
Adding note in version history about fixed deprecation warnings.
2019-12-01 21:27:44 -05:00
Michel Fortin
3a1e527062
Merge pull request #318 from beryllium/patch-1
...
Update travis-ci configuration to test in PHP7.3/4
2019-11-28 14:04:30 -05:00
Kevin Boyd
f08495e63f
Update travis-ci configuration to test in PHP7.3/4
...
Adds `7.3` and `7.4snapshot` to `.travis.yml`.
The `snapshot` part appears to be required at the moment, but I expect in a few days or weeks it will be able to switch to plain `7.4`.
I noticed that there is a deprecation notice for a bunch of the curly brace string accessors in the latest Release, please let me know if I can be of help to solve that. This library is used within [Sculpin](https://sculpin.io/ ), which I help maintain.
2019-11-28 08:54:18 -08:00
Michel Fortin
90e0f5f0c9
Merge pull request #317 from fwiep/lib
...
Resolved two more curly-brace deprecation warnings
2019-11-05 06:37:43 -05:00
Frans-Willem Post
0c967f7c22
Resolved two more curly-brace deprecation warnings
2019-11-05 10:51:56 +01:00
Michel Fortin
b594a78375
Merge pull request #316 from remicollet/issue-74
...
curly braces is deprecated in PHP 7.4
2019-07-26 09:10:46 -04:00
Remi Collet
a35858f040
curly braces is deprecated
2019-07-26 14:51:37 +02:00
Michel Fortin
9445abe2a9
Adding changes from #313 to release notes.
2018-10-16 10:55:46 -04:00
Michel Fortin
4db3e9a52f
Merge pull request #313 from sunnywalker/lib
...
comply with WCAG 2.0 for footnote backlinks
- Adding `fn_backlink_label`.
- Adding `^^` and `%%` placeholders for footnote number and reference number.
2018-10-16 10:53:36 -04:00
Sunny Walker
07add1297a
Merge branch 'parseable-footnotes' into lib
2018-10-15 10:40:01 -10:00
Sunny Walker
de4d677a4c
implement placeholder parsing for footnote backlink title, aria-label, html
...
also, no (empty) backlink is generated when the $fn_backlink_html is
blank
2018-10-15 10:35:30 -10:00
Sunny Walker
24a2fcc546
improve source formatting consistency
2018-10-15 10:27:00 -10:00
Sunny Walker
148a5f41e3
rollback change to footnote names
...
invalidating spaces in footnote names, while technically correct from
HTML standards point of view is an unnecessarily burdensome breaking
change at this time
2018-10-12 14:27:54 -10:00
Sunny Walker
79a2446b57
test invalid footnote names with whitespace
2018-10-12 09:25:35 -10:00
Sunny Walker
c62b72fc97
reduce repeated code and refer to the internal footnote number
...
refer to the internal footnote number instead of the named reference id
2018-10-12 09:14:39 -10:00
Sunny Walker
a954f6d698
do not accept named footnotes with whitespace
...
whitespace creates invalid HTML ids
2018-10-12 09:04:19 -10:00
Sunny Walker
6027807de6
add $fn_backlink_label as aria-label option
...
WCAG 2.0 2.4.4 says link texts to different urls cannot be the same.
aria-label matching the title attribute is probably redundant and
doesn't solve the issue, so this implementation allows for
user-overridable aria-labels with reference and footnote number
reference options to comply with 2.4.4
2018-10-11 15:42:39 -10:00
Sunny Walker
90b6076484
add editorconfig file to maintain source formatting
2018-10-11 15:26:59 -10:00
Michel Fortin
93fa687d24
Merge pull request #309 from NicolasCARPi/fixes
...
Various little fixes
2018-08-13 16:59:49 -04:00
Nicolas CARPi
34084e0012
Make default value of $footnotes_assembled null again
2018-08-13 22:51:49 +02:00
Nicolas CARPi
abcafda9b6
Various little fixes
...
* Check if property is callable with is_callable everywhere needed
* Remove the & from the docblock declaration of variable passed by
reference
* Make default value of $footnotes_assembled an empty string instead of
null because it is concatenated afterwards with a string
* Use $mode instead of $this->mode (undeclared property anyway, and not
used anywhere else afaik)
* Correct the docblock types for some variables
2018-08-08 18:16:24 +02:00
Michel Fortin
10bddd9729
Merge pull request #307 from bobbykjack/patch-1
...
Fix typo in Readme.php
2018-07-05 10:02:22 -04:00
Bobby Jack
bd0a07d1cb
Fix typo in Readme.php
...
autoload.php, not autoloader.php
2018-07-05 14:45:46 +01:00
Michael Butler
d827513209
Remove commented out lines in travis
2018-04-05 22:28:26 -04:00
Michael Butler
29b66556c7
Cleanup code, del unused variables
2018-04-05 22:28:10 -04:00
Michael Butler
89a5d6962c
Remove commented out code
2018-03-19 20:26:14 -04:00
Michael Butler
684e779e36
Update php version number
2018-03-19 20:11:40 -04:00
Michael Butler
bf0fe1e1d2
Change travis coverage to log
2018-03-19 20:09:41 -04:00
Michael Butler
84616cbe14
Enable code coverage with scrutinizer
2018-03-19 20:08:44 -04:00
Michel Fortin
9da5a65032
Merge branch 'mbutler/travis-ci-2' of https://github.com/michaelbutler/php-markdown into lib
2018-03-18 23:06:59 -04:00
Michael Butler
6da3fe30b9
Update Travis.yml and composer.json for older versions of PHPUnit
2018-03-18 21:02:24 -04:00
Michael Butler
2fee5af531
Undo linebreaks/badge in Readme
2018-03-18 20:56:06 -04:00
Michael Butler
cc558ac808
Update .travis.yml and readme with badge
2018-03-18 20:19:03 -04:00
Michael Butler
0d6f3372cc
Add Travis CI file
2018-03-17 23:41:21 -04:00
Michel Fortin
6ebf49b95e
Merge branch 'michael/phpunit-additions' of https://github.com/michaelbutler/php-markdown into lib
2018-03-17 21:48:07 -04:00
Michael Butler
a1950a9273
Run markdown.mdtest and php-markdown.mdtest against MarkdownExtra , except for Emphasis which is the exception
2018-03-17 14:49:07 -04:00
Michel Fortin
dfaa413aab
Adding note about role="doc-endnotes" when using footnote_assembled.
2018-03-16 23:49:14 -04:00
Michel Fortin
5c5112694d
Description of omit_footnotes in version history.
2018-03-16 23:19:01 -04:00
Michel Fortin
fb20a7761f
Merge branch 'lib' of https://github.com/jkrrv/php-markdown into lib
2018-03-16 23:09:43 -04:00
James K
8bbbbf0fbd
Refactoring append_footnotes to omit_footnotes and other requested adjustments.
...
See discussion on #294 .
2018-03-02 01:23:25 -05:00
James K
1118518cb0
Adding "append_footnotes" option. Potential solution to #286 .
2018-03-01 17:51:35 -05:00
Michael Butler
a9d785139f
Add normalize comparisons to tests
...
Use MarkdownExtra specifically for the Extra type tests.
2018-01-27 21:03:01 -05:00
Michael Butler
8376d3ecb8
Remove unused tests
2018-01-27 13:58:49 -05:00
Michael Butler
777b997bca
Add mdtest resources and unit tests
2018-01-27 13:51:14 -05:00
Michael Butler
1bd48d3718
Add PHPUnit xml
2018-01-27 13:50:00 -05:00
Michael Butler
4bedb1b063
Require PHP 5.7
2018-01-27 13:49:47 -05:00
Michael Butler
3cfd0562e6
Change spaces to tabs in Readme.php
2018-01-27 12:01:31 -05:00