Skip to content

Commit

Permalink
pkp/pkp-lib#2564 HTML submission title presentation and config added
Browse files Browse the repository at this point in the history
  • Loading branch information
touhidurabir committed Feb 15, 2023
1 parent dc76e7d commit 65ca4d5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions config.TEMPLATE.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,10 @@
; stripped.
allowed_html = "a[href|target|title],em,strong,cite,code,ul,ol,li[class],dl,dt,dd,b,i,u,img[src|alt],sup,sub,br,p"

; Allowed HTML tags for submission titles only
; Unspecified attributes will be stripped.
allowed_title_html = "strong,em,b,i,sup,sub"

;N.b.: The implicit_auth parameter has been removed in favor of plugin implementations such as shibboleth

;;;;;;;;;;;;;;;;;;
Expand Down
2 changes: 1 addition & 1 deletion templates/frontend/objects/article_details.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
{/if}

<h1 class="page_title">
{$publication->getLocalizedTitle()|escape}
{$publication->getLocalizedTitle()|escape|unescape:'html'}
</h1>

{if $publication->getLocalizedData('subtitle')}
Expand Down

0 comments on commit 65ca4d5

Please sign in to comment.