Option default value crippled in wiki

4 views
Skip to first unread message

Klaus Hartl

unread,
Oct 20, 2007, 4:52:19 PM10/20/07
to jQuery Documents
Hi,

for a new option of the tabs plugin I needed to add a default value
being quite a long string:

{{APIOption|tabTemplate|String|HTML template from which a new tab is
created and added with the tabsAdd method. The placeholders
#{href} and #{text} are replaced.|<li><a
href="#{href}"><span>#{text}</
span></a></li>}}

See http://docs.jquery.com/UI/Tabs/tabs

That default value disappears from the page, is it because it is too
long? Does anybody know how to fix this?

Thanks!


--Klaus

David Serduke

unread,
Oct 20, 2007, 5:46:44 PM10/20/07
to jQuery Documents
It appears the wiki didn't like the '=' sign in the href so I changed
it to '=' and it appears to work.

David


On Oct 20, 1:52 pm, Klaus Hartl <klaus.ha...@googlemail.com> wrote:
> Hi,
>
> for a new option of the tabs plugin I needed to add a default value
> being quite a long string:
>
> {{APIOption|tabTemplate|String|HTML template from which a new tab is
> created and added with the tabsAdd method. The placeholders
> #&#123;href&#125; and #&#123;text&#125; are replaced.|&lt;li&gt;&lt;a
> href="#&#123;href&#125;"&gt;&lt;span&gt;#&#123;text&#125;&lt;/
> span&gt;&lt;/a&gt;&lt;/li&gt;}}
>

> Seehttp://docs.jquery.com/UI/Tabs/tabs

Klaus Hartl

unread,
Oct 20, 2007, 6:10:07 PM10/20/07
to jQuery Documents
On 20 Okt., 23:46, David Serduke <davidserd...@gmail.com> wrote:
> It appears the wiki didn't like the '=' sign in the href so I changed
> it to '&#61;' and it appears to work.
>
> David

Good to know, thank you David!


--Klaus

John Resig

unread,
Oct 20, 2007, 6:24:28 PM10/20/07
to jquer...@googlegroups.com
If the wiki ever barfs on me I just wrap a <nowiki>...</nowiki> around
it and it's appeased.

--John

Jörn Zaefferer

unread,
Oct 28, 2007, 10:35:45 PM10/28/07
to jQuery Documents

On Oct 20, 11:24 pm, "John Resig" <jere...@gmail.com> wrote:
> If the wiki ever barfs on me I just wrap a <nowiki>...</nowiki> around
> it and it's appeased.

Would be handy to have a shortcut for that in the wiki editor. "Select
text, press shortcut, it gets wrapped with <nowiki.../>".

Jörn

Reply all
Reply to author
Forward
0 new messages