Item10218: Twisty and BUTTON combined produces invalid HTML

pencil
Priority: Normal
Current State: No Action Required
Released In: n/a
Target Release: n/a
Applies To: Extension
Component: TwistyPlugin,JQueryPlugin
Branches:
Reported By: ArthurClemens
Waiting For:
Last Change By: ArthurClemens
See for example the twisty used on Sandbox webhome:

foobar

%TWISTY{
  link="%BUTTON{"Create a new topic" icon="add"}%%CLEAR%" 
  mode="div"
}%
foobar
%ENDTWISTY%

-- ArthurClemens - 01 Jan 2011

Fixed the twisty code in your example to contain an endtwisty marcro. Why is it invalid?

-- MichaelDaum - 02 Jan 2011

Hmm. W3C says the code is valid. I think Safari messes up and creates nested links:

  • safari_errors.png:
    safari errors.png

  • safari_errors2.png:
    safari errors2.png

-- ArthurClemens - 02 Jan 2011

 

ItemTemplate edit

Summary Twisty and BUTTON combined produces invalid HTML
ReportedBy ArthurClemens
Codebase 1.1.2, trunk
SVN Range
AppliesTo Extension
Component TwistyPlugin,JQueryPlugin
Priority Normal
CurrentState No Action Required
WaitingFor
Checkins
TargetRelease n/a
ReleasedIn n/a
I Attachment Action Size Date Who Comment
safari_errors.pngpng safari_errors.png manage 53 K 02 Jan 2011 - 12:35 ArthurClemens  
safari_errors2.pngpng safari_errors2.png manage 20 K 02 Jan 2011 - 12:36 ArthurClemens  
Topic revision: r3 - 02 Jan 2011, ArthurClemens
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