• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Item7457: Twitter ID support interferes with style syntax

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Engine   Normal Confirmed   n/a  

Edit Form Data

Summary:
Reported By:
Codebase:
Applies To:
Component:
Priority:
Current State:
Waiting For:
Target Release:
Released In:
 

Detail

TWitter ID support, i.e.

URL pattern of "@twitter_ID" style links. Use %ID% for the Twitter ID. An empty string disables autolinking.
{Links}{TwitterUrlPattern} [ /http://twitter.com/%ID% ]

interferes with style syntax, i.e

<style type="text/css" media="all">
@import url("/pub/Main/WaterMark/archiveWM.css");
</style>

@import is mis-recognized as a Twitter ID and the string is mangled into a Twitter href.

-- TWiki:Main/VickiBrown - 2014-03-12

Oops, that is not good.

As a workaround write !@... or <nop>@... - the prefix is removed at the end of the rendering process.

-- TWiki:Main.PeterThoeny - 2014-03-13

Thanks for the workaround.

(It took me a while and eventual staring at the source code to figure out why this simply wasn't working. Because it was inside <style> tags, there was nothing obvious in View mode!

-- TWiki:Main.VickiBrown - 2014-03-14

ItemTemplate
Summary Twitter ID support interferes with style syntax
ReportedBy TWiki:Main.VickiBrown
Codebase 6.0.0
SVN Range TWiki-6.0.1-trunk, Sat, 01 Mar 2014, build 27044
AppliesTo Engine
Component

Priority Normal
CurrentState Confirmed
WaitingFor

Checkins

TargetRelease n/a
ReleasedIn

Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r4 - 2014-06-17 - PeterThoeny
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback