Skip to content

Commit

Permalink
release 1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jenswittmann committed Jul 30, 2024
1 parent 352fd4c commit 1f7b4a6
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion _build/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"lowCaseName": "jolitypo",
"description": "JoliTypo Microtypography as output modifer for MODX",
"author": "Jens Wittmann",
"version": "1.1.1-pl",
"version": "1.2.0-pl",
"package": {
"elements": {
"snippets": [
Expand Down
Binary file added _packages/jolitypo-1.2.0-pl.transport.zip
Binary file not shown.
6 changes: 6 additions & 0 deletions core/components/jolitypo/docs/changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## JoliTypo 1.2.0

Released on 2024-07-30

- bugfix: prevent MODX URL modifier gets encoded in links when pdoTools are installed (#4)

## JoliTypo 1.1.1

Released on 2024-03-12
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
# run JoliTypo and return
$input = $fixer->fix($input);

# prevent URL gets encoded in links #4
# prevent MODX URL modifier gets encoded in links when pdoTools are installed, see #4
$input = preg_replace_callback("/<a(.*?)href=\"([^\"]+)\"(.*?)>/i", function($matches) {
return "<a" . $matches[1] . "href=\"" . urldecode($matches[2]) . "\"" . $matches[3] . ">";
}, $input);
Expand Down

0 comments on commit 1f7b4a6

Please sign in to comment.