From af5755be5550841dbae5da15f23d32c44026e94e Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Sun, 5 Jun 2016 12:26:41 +0200 Subject: [PATCH] Title and SubTitle are now consistently interpreted as HTML --- lib/UCW/Gallery.pm | 2 +- lib/UCW/Gallery/Web.pm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/UCW/Gallery.pm b/lib/UCW/Gallery.pm index ef0fc10..d76424c 100644 --- a/lib/UCW/Gallery.pm +++ b/lib/UCW/Gallery.pm @@ -33,7 +33,7 @@ sub new($) { CacheExif => 0, # Cache selected EXIF meta-data CacheHashes => 1, # Let gal-scan cache file hashes - # Titles and navigation + # Titles and navigation (may contain HTML tags and entities) Title => 'An Unnamed Gallery', SubTitle => "", ParentURL => '../', diff --git a/lib/UCW/Gallery/Web.pm b/lib/UCW/Gallery/Web.pm index 4b39e3b..78445c6 100644 --- a/lib/UCW/Gallery/Web.pm +++ b/lib/UCW/Gallery/Web.pm @@ -51,7 +51,7 @@ sub showing_image($) { sub html_top($) { my ($self) = @_; - my $title = UCW::CGI::html_escape($self->get('Title')); + my $title = $self->get('Title'); my $hextras = $self->extras('WebHeadExtras'); my $theme_hextras = $self->theme_head_extras; print <