vsch / idea-multimarkdown

Markdown language support for IntelliJ IDEA.
https://plugins.jetbrains.com/plugin/7896-markdown-navigator
Apache License 2.0
813 stars 129 forks source link

Improper URL escaping when opening browser #815

Open breandan opened 4 years ago

breandan commented 4 years ago

When I navigate to the following link in MDN, the \ character gets replaced with a / character:

https://render.githubusercontent.com/render/math?math=\nabla{a}

Related to #74.

vsch commented 4 years ago

@breandan, very likely. The URL conversion code is not pretty. It changes windows sep without checking for query.

vsch commented 4 years ago

@breandan, as a workaround until it is fixed can you try using URL encoded backslash?

 ![Test](https://render.githubusercontent.com/render/math?math=%5Cnabla{a})

Test