• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!

Text inside a .highlight tag still parses "@soemthing" as a user tag

Status
Not open for further replies.
So in the news post submission by Frotty, there's code like this placed in the highlight tag.

Wurst:
[USER=179970]@Test[/USER] function testAdd()
   new HashList<int>..add(5).get(0).assertEquals(5)

...which has the code annotation @Test replaced by a user tag. Obviously it should just be @Test instead.

The general solution is using the code=wurst instead of highlight=wurst.

Wurst:
@Test function testAdd()
   new HashList<int>..add(5).get(0).assertEquals(5)

...but the highlight tags still needs to be fixed.
 
Level 29
Joined
Jul 29, 2007
Messages
5,174
To be fair, highlight isn't needed anymore if code supports the same syntax. This thread probably contains a major number of the people who even know of its existence :p

But yes, wanting control over what elements you want transformed by the forum software seems like a pretty basic thing to me.
 
Status
Not open for further replies.
Top