Colors are not being saved properly with snippets
flazhbang opened this issue ยท 1 comments
Description
I tried saving a table of colors with the snippet feature, but the snippet removed the color code, i even tried making the entries comments, but that didn't fix the issue
Double pipe seemed to fix it though
image 1: the source
image 2: The mouseover tooltip
image 3: the pasted snippet
image 4: Darian's solution which seemed to fix it for the time being
WeakAuras Version
Weakauras 3.5.0
World of Warcraft Flavor
Retail (Default)
Tested with only WeakAuras
- Yes
- No
Lua Error
No response
Reproduction Steps
1: Enter the following code in an editor window:
aura_env.markColor = { [1] = "|cFFFFFF00", [2] = "|cFFFF9900", [3] = "|cFFFF00FF", [4] = "|cFF00FF00", [5] = "|cFF94FAFF", [6] = "|cFF2BA3FF", [7] = "|cFFFF0000", [8] = "|cFFFFFFFF" }
2: Save as snippet
3: paste the snippet
4: enter the double pipe snippet:
aura_env.markColor = { [1] = "||cFFFFFF00", [2] = "||cFFFF9900", [3] = "||cFFFF00FF", [4] = "||cFF00FF00", [5] = "||cFF94FAFF", [6] = "||cFF2BA3FF", [7] = "||cFFFF0000", [8] = "||cFFFFFFFF", }
5: save as snippet
6: paste snippet
Last Good Version
No response
Screenshots
No response
Export String
No response