Skip to content

Commit

Permalink
Add missing HTML element mapping for translated subtitle
Browse files Browse the repository at this point in the history
  • Loading branch information
asmecher committed May 30, 2023
1 parent e55c780 commit ea7d1ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OAIMetadataFormat_JATS.php
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ protected function _mungeMetadata($doc, $journal, $article, $section, $issue) {
if (!empty($subtitle = $article->getCurrentPublication()->getLocalizedSubTitle($locale, 'html'))) {
$subtitleNode = $transTitleGroupNode->appendChild($doc->createElement('trans-subtitle'));
$subtitleHtml = $doc->createDocumentFragment();
$subtitleHtml->appendXML($subtitle);
$subtitleHtml->appendXML($this->mapHtmlTagsForTitle($subtitle));
$subtitleNode->appendChild($subtitleHtml);
}
}
Expand Down

0 comments on commit ea7d1ff

Please sign in to comment.