Tried on the PTR to print some itemlinks with
Code:
/run print(([Thinking Cap]):gsub('\124','\124\124'))
-- or
/dump ([Thinking Cap]):gsub('\124','\124\124')
Both fail at the gsub with error "unexpected symbol near |"
[Thinking Cap] is just a place holder here for an actual itemlink shift-clicked from the inspect window in-game.
Anyone knows what might be the problem?
I'm just trying to break the escape sequences so I get the full itemlink string to print instead of a hyperlink.