From 454d6d7954fca88992846695b3548eeb9e00e943 Mon Sep 17 00:00:00 2001 From: Robbie Averill Date: Tue, 30 Jan 2018 11:29:30 +1300 Subject: [PATCH 1/2] FIX Only show "Export PDF" text for screen readers --- templates/Includes/PageUtilities.ss | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/templates/Includes/PageUtilities.ss b/templates/Includes/PageUtilities.ss index 37d841ea..29f832aa 100644 --- a/templates/Includes/PageUtilities.ss +++ b/templates/Includes/PageUtilities.ss @@ -17,7 +17,9 @@ for configuration instructions --%> <%-- <% if $PdfLink %>
  • - <%t CWP.Home.PDF "Export PDF" %> + + <%t CWP.Home.PDF "Export PDF" %> +
  • <% end_if %> --%> From df7668b9fe4cd92fefefd649c8da78853178c0aa Mon Sep 17 00:00:00 2001 From: Steve Boyd Date: Mon, 12 Mar 2018 17:13:12 +1300 Subject: [PATCH 2/2] Render title with .XML to ensure that any quirky characters are not rendered --- templates/Page.ss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/Page.ss b/templates/Page.ss index 57538a14..da07c93d 100644 --- a/templates/Page.ss +++ b/templates/Page.ss @@ -2,7 +2,7 @@ <% base_tag %> - <% if $MetaTitle %>$MetaTitle<% else %>$Title<% end_if %> | $SiteConfig.Title + <% if $MetaTitle %>$MetaTitle.XML<% else %>$Title.XML<% end_if %> | $SiteConfig.Title.XML $MetaTags(false) <% if $RSSLink %>