-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Autogenerated documentation doesn't handle special characters properly #17
Comments
Infuriating, thanks for reporting @jimen0. |
This comes from the plush-package, example: ctx := plush.NewContext()
ctx.Set("search", "tag:'simon'")
text, _ := plush.Render("<%= search %>", ctx)
fmt.Println("output:", text)
// output: tag:'simon' |
Thanks @simonjanss - Oh so maybe if I change the type to |
@jimen0 @simonjanss Thank you - this is much better now that people don't need to learn unicode to read the docs :) |
My pleasure, thank you for a great tool! |
Oto's autogenerated documentation doesn't properly encode special characters such as double quotes. I found this problem while reading pace's docs and reproduced it by myself. You can find an example here:
pkg.go.dev
: https://pkg.go.dev/github.com/pacedotdev/pace?tab=doc#AddCommentRequestPlease, feel free to close this issue if this is the intended behavior. I was just trying the tool and noticed it.
Best,
Miguel
The text was updated successfully, but these errors were encountered: