Changeset 36297
- Timestamp:
- 12/29/09 03:16:52 (3 years ago)
- Files:
-
- 1 modified
-
websites/twicli/search.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
websites/twicli/search.js
r36077 r36297 68 68 var target = eles[i]; 69 69 if (target.className == "status") { 70 target.innerHTML = target.innerHTML.replace(/([\u0001-\/:-@\[-`{-~]|^)(\#[0-9A-Za-z_]{2,})(?=[\u0001-\/:-@\[-`{-~]|$)/g, function(_,d1,t){ 70 target.innerHTML = target.innerHTML.replace(/<a .*?>.*?<\/a>|([\u0001-\/:-@\[-`{-~]|^)(\#[0-9A-Za-z_]{2,})(?=[\u0001-\/:-@\[-`{-~]|$)/g, function(_,d1,t){ 71 if (_.substr(0,1) == '<') return _; // skip link 71 72 if (t.match(/^#\d+$/)) return d1+t; 72 73 return d1+'<a href="javascript:twsSearch(\''+t+'\')">'+t+'</a>';
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)