Tac Tacelosky
fd531bd53e
replace hard-coded links to badges
2021-11-08 07:39:21 -05:00
Tac Tacelosky
d0dc7afcfe
drop codestyle check
2021-11-08 07:34:13 -05:00
Tac Tacelosky
050e6e6751
drop 7.3
2021-11-08 07:33:10 -05:00
Tac Tacelosky
7605be8059
add more ci
2021-11-08 07:31:52 -05:00
Tac Tacelosky
14c16e94f8
Merge branch 'michelf:lib' into lib
2021-11-08 07:23:38 -05:00
Tac Tacelosky
f1a7abf1e5
add github actions
2021-11-08 07:22:58 -05:00
Michel Fortin
639aa5f399
Merge branch 'tacman-feature-typehints' into lib
2021-11-07 08:21:35 -05:00
Tac Tacelosky
0b8580fed4
Merge branch 'michelf:lib' into feature-typehints
2021-11-07 08:12:38 -05:00
Tac Tacelosky
814ea61f11
declare types in php rather than annotations
2021-11-07 07:57:49 -05:00
Tac Tacelosky
f859072963
remove rector
2021-11-07 07:57:10 -05:00
Tac Tacelosky
7398fd13af
type arrays for class and subclass
2021-11-07 07:46:59 -05:00
Michel Fortin
541f463059
Merge pull request #358 from tacman/dev-2.0
...
Bump to php7.4
2021-11-06 21:52:07 -04:00
Tac Tacelosky
d6498ec366
bump to php 7.4
2021-11-06 21:16:00 -04:00
Tac Tacelosky
874d1c0756
bump minimum to php 7.4
2021-11-06 11:38:35 -04:00
Tac Tacelosky
169de84485
allow php7.3+
2021-11-05 13:09:26 -04:00
Tac Tacelosky
b19407df03
allow php7.2+
2021-11-05 13:05:44 -04:00
Tac Tacelosky
f040749ea5
bump php version and phpunit
2021-11-05 13:04:16 -04:00
Michel Fortin
27bfa19022
Merge pull request #350 from jeffmcneill/patch-2
...
Update copyright date to include 2021
2021-01-29 07:44:52 -05:00
Michel Fortin
143913a292
Merge pull request #349 from jeffmcneill/patch-1
...
Update License.md
2021-01-29 07:44:38 -05:00
Jeff Mcneill
e55d54c19d
Update copyright date to include 2021
2021-01-29 15:38:15 +07:00
Jeff Mcneill
04f44bb044
Update License.md
...
Change year of copyright to include 2021
2021-01-29 13:42:06 +07:00
Michel Fortin
6975244af2
Merge pull request #329 from th-h/lib
...
Treat <details> and <summary> as block level.
2020-04-22 13:02:37 -04:00
Thomas Hochstein
398690d7fb
Add tests.
...
Signed-off-by: Thomas Hochstein <thh@inter.net>
2020-04-22 17:32:49 +02:00
Thomas Hochstein
5078cf7782
Treat <details> and <summary> as block level.
...
<details> and <summary> elements should never
be wrapped in "<p></p>".
Signed-off-by: Thomas Hochstein <thh@inter.net>
2020-04-22 17:24:00 +02:00
Michel Fortin
71f6fb8fbb
Merge pull request #328 from Verest/fix-blank-title-attribute
...
Remove blank title attributes from anchor tags
2020-04-09 06:55:38 -04:00
Verest
58b07d26c3
fixed unintended blank title attributes
2020-04-08 20:24:25 -07:00
Michel Fortin
8d02b3f6f8
Merge pull request #325 from jdufresne/exec
...
Remove executable bit from non-executed files
2020-01-11 10:58:04 -05:00
Jon Dufresne
44f72c0b75
Remove executable bit from non-executed files
...
The files are not executed as standalone scripts, so remove the
unnecessary permissions.
2020-01-11 07:45:41 -08:00
Michel Fortin
2d74367653
Merge pull request #322 from GrahamCampbell/patch-1
...
Fixed failing travis builds
2019-12-28 10:54:16 -05:00
Graham Campbell
d62eb48b76
Use long array syntax
2019-12-28 14:41:51 +00:00
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