• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

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.
 
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.
Back
Top