You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When I render user inputs that used single dash table, it didn't render correctly.
To Reproduce
Steps to reproduce the behavior:
data:=`| a | b | c || - | - | - || 1 | 2 | 3 |`app:=iris.Default()
app.Get("/", func(ctx iris.Context){
ctx.Markdown(([]byte)(data))
})
// serve app
Access the entrypoint, it will return
<p>| a | b | c |
| - | - | - |
| 1 | 2 | 3 |</p>
Expected behavior
when I access the point, it should returned a table
Screenshots
Desktop (please complete the following information):
OS: N/A
iris.Version
v12@master
Please make sure the bug is reproducible over the master branch:
$ cd PROJECT
$ go get -u github.com/kataras/iris/v12@master
$ go run .
Additional context
I opened an issue at russross/blackfriday#707, but I think this project was died, can you use another markdown library that support markdown table?
Don't ask me use three dashes input, the input is users, not mine
The text was updated successfully, but these errors were encountered:
Hello @zyxkad, I've just pushed a commit on master branch (go get github.com/kataras/iris/v12@master && go mod tidy --compat=1.20) which replaced the markdown library. I've tested your example, it parsed correctly.
Describe the bug
When I render user inputs that used single dash table, it didn't render correctly.
To Reproduce
Steps to reproduce the behavior:
Access the entrypoint, it will return
Expected behavior
when I access the point, it should returned a table
Screenshots
Desktop (please complete the following information):
iris.Version
Please make sure the bug is reproducible over the
master
branch:Additional context
I opened an issue at russross/blackfriday#707, but I think this project was died, can you use another markdown library that support markdown table?
Don't ask me use three dashes input, the input is users, not mine
The text was updated successfully, but these errors were encountered: