Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Goethes Farbenlehre
gfl-app-new
Commits
be71195d
Commit
be71195d
authored
Dec 11, 2021
by
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
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
src/Service/EditedTextService.php
View file @
be71195d
...
...
@@ -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
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment