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
152e7e5f
Commit
152e7e5f
authored
Sep 30, 2021
by
pestov
Browse files
Add rendition content to edited text
parent
f5631281
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/Controller/Tei2SolrController.php
View file @
152e7e5f
...
...
@@ -975,10 +975,11 @@ class Tei2SolrController extends AbstractController
if
(
isset
(
$hi
[
1
])
&&
!
empty
(
$hi
[
1
])
&&
'superscript'
===
$hi
[
1
])
{
$tText
.
=
'<sup>'
.
$e
->
data
.
'</sup>'
;
$eText
.
=
$e
->
data
;
}
elseif
(
isset
(
$hi
[
1
])
&&
!
empty
(
$hi
[
1
])
&&
'italic'
===
$hi
[
1
])
{
$tText
.
=
'<i>'
.
$e
->
data
.
'</i>'
;
$eText
.
=
$e
->
data
;
$italic
=
true
;
}
}
elseif
(
isset
(
$gnd
)
&&
true
===
$gnd
)
{
...
...
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