http://forge.typo3.org/http://forge.typo3.org/themes/typo3_forge/favicon/favicon.png?17058661692016-02-22T15:22:50ZTYPO3 ForgeTYPO3 Core - Bug #73598: Three hash (###) marker in JavaScript creates the problem in TYPO3 6.2.18http://forge.typo3.org/issues/73598?journal_id=2975892016-02-22T15:22:50ZSteffen Müller
<ul><li><strong>Project</strong> changed from <i>1865</i> to <i>TYPO3 Core</i></li><li><strong>Is Regression</strong> set to <i>No</i></li></ul> TYPO3 Core - Bug #73598: Three hash (###) marker in JavaScript creates the problem in TYPO3 6.2.18http://forge.typo3.org/issues/73598?journal_id=2975972016-02-22T16:13:42ZMarkus Kleinmarkus.klein@typo3.org
<ul><li><strong>Category</strong> set to <i>Frontend</i></li><li><strong>Status</strong> changed from <i>New</i> to <i>Accepted</i></li><li><strong>Assignee</strong> set to <i>Markus Klein</i></li><li><strong>Target version</strong> set to <i>Candidate for patchlevel</i></li><li><strong>Complexity</strong> set to <i>medium</i></li><li><strong>Is Regression</strong> changed from <i>No</i> to <i>Yes</i></li><li><strong>Sprint Focus</strong> set to <i>Stabilization Sprint</i></li></ul><p>I wonder how this ever worked before the change, but fair enough, this is valid.</p> TYPO3 Core - Bug #73598: Three hash (###) marker in JavaScript creates the problem in TYPO3 6.2.18http://forge.typo3.org/issues/73598?journal_id=2976012016-02-22T16:28:02ZMarkus Kleinmarkus.klein@typo3.org
<ul></ul><p>I suppose your template has other markers before or after that JS code, right?</p>
<p>I fear we have to limit the allowed marker name length, otherwise there is no way to solve the issue as the engine can't judge whether ### is part of a marker or not as any character is allowed for marker names.</p> TYPO3 Core - Bug #73598: Three hash (###) marker in JavaScript creates the problem in TYPO3 6.2.18http://forge.typo3.org/issues/73598?journal_id=2976112016-02-22T17:30:25ZMarkus Kleinmarkus.klein@typo3.org
<ul></ul><p>A quick-fix for you would be to simply use a marker for the format and pass this one in.</p> TYPO3 Core - Bug #73598: Three hash (###) marker in JavaScript creates the problem in TYPO3 6.2.18http://forge.typo3.org/issues/73598?journal_id=2976122016-02-22T17:34:39ZMarkus Kleinmarkus.klein@typo3.org
<ul><li><strong>Status</strong> changed from <i>Accepted</i> to <i>Needs Feedback</i></li><li><strong>Target version</strong> deleted (<del><i>Candidate for patchlevel</i></del>)</li><li><strong>Is Regression</strong> changed from <i>Yes</i> to <i>No</i></li><li><strong>Sprint Focus</strong> deleted (<del><i>Stabilization Sprint</i></del>)</li></ul><p>This is really an edge case and I'm not sure if I really want to introduce an artificial limit for the marker name length.<br />It would be wrong by definition.</p>
<p>Would it be ok for you to simply use the proposed workaround instead of making the life of others possibly harder?</p> TYPO3 Core - Bug #73598: Three hash (###) marker in JavaScript creates the problem in TYPO3 6.2.18http://forge.typo3.org/issues/73598?journal_id=2982172016-02-29T08:27:17ZJignesh Prajapatijignesh.prajapati@drcsystems.com
<ul></ul><p>Hello Markus,</p>
<p>Thanks for your solution.<br />I will implement this and do not want to make the life of others harder :)</p> TYPO3 Core - Bug #73598: Three hash (###) marker in JavaScript creates the problem in TYPO3 6.2.18http://forge.typo3.org/issues/73598?journal_id=2982272016-02-29T10:11:12ZMarkus Kleinmarkus.klein@typo3.org
<ul><li><strong>Status</strong> changed from <i>Needs Feedback</i> to <i>Closed</i></li><li><strong>Assignee</strong> deleted (<del><i>Markus Klein</i></del>)</li></ul><p>Thanks. Closing this ticket then.</p>