Typing something like this
_WikiWord_ does not result in
WikiWord .
Neither
*WordWord*, nor
__WordWord__ ...
Test case
Insert
_SomethingLikeThis_ and see on result.
Environment
Server OS:
Linux 2.4.26
Web server:
Apache 1.3.31
Perl version:
5.8.4
Client OS:
Win2k sp4
Web Browser:
Mozilla 1.7.2
--
VladimirPodryvanov - 16 Sep 2004
Follow up
This happens because
([\s\(])($regex{wikiWordRegex}) regex on line 1092 in
TWiki/Render.pm cannot recognize makeuped
WikiWord
1091 # 'TopicName' link:
1092 s/([\s\(])($regex{wikiWordRegex})/&internalLink(1,ドル$theWeb,2,ドル2,ドル"",1)/geo;
To solve this I added additional
" ", space symbol, before
2ドル in lines 1044-1046.
1041 # Emphasizing
...
1044 s/([\s\(])__([^\s]+?|[^\s].*?[^\s])__([\s,円\.\;\:\!\?\)])/1ドル<strong><em> 2ドル<\/em><\/s
1045 s/([\s\(])\*([^\s]+?|[^\s].*?[^\s])\*([\s,円\.\;\:\!\?\)])/1ドル<strong> 2ドル<\/strong>3ドル/g
1046 s/([\s\(])_([^\s]+?|[^\s].*?[^\s])_([\s,円\.\;\:\!\?\)])/1ドル<em> 2ドル<\/em>3ドル/g;
--
VladimirPodryvanov - 16 Sep 2004
This is spec, autolinks are only done if WikiWords are preceeded by white space or parenthesis. This reduces the likelihood of false links. If you need links with markup write for example
*[[WebNotify]]* to get a bold
WebNotify link. We would break existing content if we change the link rule.
See also
TextFormattingRules documentation.
--
PeterThoeny - 17 Sep 2004
Fix record