-
Bug
-
Resolution: Invalid
-
Major
-
None
-
3.2.2
-
None
I have defined a bbcode [newwindow]
here is the usage
[code][newwindow url=\{URL}]{SIMPLETEXT}[/newwindow][/code]
here is the replacement
[code]<a href="{URL}" target="_blank" class="postlink">{SIMPLETEXT}</a> [/code]
this code works in most all situations but is not replaced in others.
[b]here is example of where the bbcode is not replaced[/b]
[code]The [newwindow url=https://www.scouting.org/programs/boy-s ... rces/nylt/] National Youth Leadership Training (NYLT) [/newwindow ] is a week long summer camp held at the S Bar F Scout Ranch near Fredricktown, MO.[/code]
[b]here is the code[/b]
[code]The [newwindow url=https://www.scouting.org/programs/boy-scouts/resources/nylt/] National Youth Leadership Training (NYLT) [/newwindow ] is a week long summer camp held at the S Bar F Scout Ranch near Fredricktown, MO.
[/code]
NOTE: if I edit [newwindow and replace with [url the the replacement is correct.
[size=150][b]It is defiantly related to the length of the URL!!!!!![/b][/size]
[b]here is code where replacement is correct[/b]
[code][newwindow url=https://stlbsa.org/s-bar-f-scout-ranch/]S-Bar-F Scout Ranch[/newwindow][/code]
The only difference is the actual URL's.