• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

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