Atlaskit Wikimarkup not working properly with backslash "\"

hi,
I am using Atlaskit/editor for rich text input.
Also I am converting its output using WikiMarkupTransformer from @atlaskit/editor-wikimarkup-transformer and while displaying it back I am converting it back to json format using @atlaskit/editor-json-transformer

Now I have a scenario that the text have some file path or url or any data which has backslash’\’ in it.
Issue is that while converting data between wiki and json format, backslash ‘\’ gets multiplied *2 on each conversion.
On analysis I found that an escape character is added while converted to wiki format but while converting back to json format it is neither ignored nor removed.
So as a result on each conversion to wikiformat it gets doubled

1 Like