Commit be71195d authored by asajedi's avatar asajedi
Browse files

Merge branch 'adaptNoteHref' into 'master'

Adapt note href to point to correct local docuemnt

See merge request !62
parents cec8cfc2 61c99c1e
Pipeline #257062 failed with stages
in 10 minutes and 6 seconds
......@@ -268,6 +268,10 @@ class EditedTextService extends CommonTransformService
}
}
if ('note' === $el->parentNode->nodeName) {
$target = explode('.', array_reverse(explode('/', $target))[0])[0];
}
if ($target) {
$a = $doc->a($target);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment