Hack Forums
[Feedback] Special signs break the contract button - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Hack Forums Official Information (https://hackforums.net/forumdisplay.php?fid=1)
+--- Forum: Site News (https://hackforums.net/forumdisplay.php?fid=2)
+--- Thread: [Feedback] Special signs break the contract button (/showthread.php?tid=5944537)



Special signs break the contract button - isu - Feb 24, 2019

Hey there. I was trying to add a contract to my thread, but it looks like I can't use the $ sign, as it breaks my button.

Here's the code I want to use (doesn't work):

Add 5$ balance


Here's the same code, but without a "$" in it:

Add 5 balance


RE: Special signs break the contract button - Cryptic™ - Feb 24, 2019

Code
Add $5 [contract_template=144]Click Here[/contract_template]



RE: Special signs break the contract button - isu - Feb 24, 2019

(Feb 24, 2019 06:56 AM)Cryptic™ Wrote:  
Code
Add $5 [contract_template=144]Click Here[/contract_template]

Add $5 Click Here

Kinda ugly :/


RE: Special signs break the contract button - Omniscient - Feb 24, 2019

I know, it's because of how the parser works and the $ is replaced before we do our mycode parsing. I have to look at it again and find a way to make that work.