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
7c9a30aa
Commit
7c9a30aa
authored
Sep 30, 2021
by
pestov
Browse files
Add italic style at supplied tag in edited text
parent
152e7e5f
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/Controller/Tei2SolrController.php
View file @
7c9a30aa
...
...
@@ -969,6 +969,9 @@ class Tei2SolrController extends AbstractController
}
$li
=
''
;
}
elseif
(
'supplied'
===
$e
->
parentNode
->
nodeName
)
{
$tText
.
=
$e
->
data
;
$eText
.
=
'<i>'
.
$e
->
data
.
'</i>'
;
}
elseif
(
'hi'
===
$e
->
parentNode
->
nodeName
&&
isset
(
$e
->
parentNode
->
attributes
[
0
]))
{
$hi
=
explode
(
':'
,
$e
->
parentNode
->
attributes
[
0
]
->
value
);
...
...
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