You are here: Foswiki>Tasks Web>Item14434 (31 Jan 2018, GeorgeClark)Edit Attach

Item14434: Translated text with reserved characters used in System.WebCreateNewTopicComponents will create wrong HTML.

pencil
Priority: Normal
Current State: Closed
Released In: 2.1.5
Target Release: patch
Applies To: Engine
Component: FoswikiRender
Branches: Release02x01 master Item14288 Item14454 Item14380 Item14537
Reported By: GuidoBrugnara
Waiting For:
Last Change By: GeorgeClark
In System.WebCreateNewTopicComponents there is the code:
<meta name='foswiki.webTopicCreator.errorFeedbackNoWikiName' content='<p class=\"foswikiGrayText\">%MAKETEXT{"Enter the topic name as WikiWord or check the allow non-Wiki Word box."}%</p>' />
If the translated text contains apostrophe (') character, the resulted HTMl is wrong, eg. using current Italian translation:
<meta name='foswiki.webTopicCreator.errorFeedbackNoWikiName' content='<p class=\"foswikiGrayText\">Inserire il nome della pagina come WikiWord o selezionare l'opzione che consente non-Wiki Word.</p>' />
With this result:
' />
-- GuidoBrugnara - 14 Jul 2017

 
Topic revision: r10 - 31 Jan 2018, GeorgeClark
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy