webdoc-labs / webdoc

Documentation generator for the web
https://www.webdoclabs.com
Other
79 stars 9 forks source link

[Feature]: Resolve {@code } tags #58

Closed ShukantPal closed 3 years ago

ShukantPal commented 3 years ago

Also, pass {htmlSafe:false} in default template signatures b/c they are inside ~<pre />~ <code /> tags.

ShukantPal commented 3 years ago

Inline tag parser

Zekfad commented 3 years ago

Reconsider, please: https://stackoverflow.com/a/13010144/8035872

ShukantPal commented 3 years ago

Reconsider, please: https://stackoverflow.com/a/13010144/8035872

Sorry, I meant the signatures are inside <code /> tags so &lt; is not rendered as <.

Zekfad commented 3 years ago

I meant the signatures

Oh, sorry, misunderstood.

Zekfad commented 3 years ago

By the way

b/c they are inside \<pre /> \<code /> tags.

Is not a good reason, cuz you still have to escape any text coming into any html tags. I guess the better reason is because there are can't be html special characters in signatures by default.

Just to clarify the details.

ShukantPal commented 3 years ago

I don't understand what you mean. I just turned off escaping characters in signatures, that's it.

Zekfad commented 3 years ago

Just nevermind everything is fine, i was taking about pr description this time.