Updating the descriptions for the escape/encode functions (#7606)
* Updating the descriptions for the escape/encode functions Adding explanations and examples to the encode and escape functions * Updated description for encode I have edited some of the descriptions to bring them in line with the documentation over on husdon.Util * Changed leading and trailing spaces on encode I left one space at the end and added a note to say how a blank space is rendered * Removed trailing whitespace to satisfy checkstyle * Preserve formatting and escape HTML tags * Update core/src/main/java/hudson/Functions.java Co-authored-by: NDaniel Beck <1831569+daniel-beck@users.noreply.github.com> * Changed escaping on examples so they rendered properly in the javadoc I was tempted to use {@literal &} notation but this added blank spaces, making the examples look strange. Instead I have used the &amp; notation. * Update core/src/main/java/hudson/Functions.java Co-authored-by: NDaniel Beck <1831569+daniel-beck@users.noreply.github.com> * Update core/src/main/java/hudson/Functions.java Co-authored-by: NDaniel Beck <1831569+daniel-beck@users.noreply.github.com> * Update core/src/main/java/hudson/Functions.java Co-authored-by: NDaniel Beck <1831569+daniel-beck@users.noreply.github.com> * Update core/src/main/java/hudson/Functions.java Co-authored-by: NDaniel Beck <1831569+daniel-beck@users.noreply.github.com> * Update core/src/main/java/hudson/Functions.java Co-authored-by: NDaniel Beck <1831569+daniel-beck@users.noreply.github.com> * Update core/src/main/java/hudson/Functions.java Co-authored-by: NDaniel Beck <1831569+daniel-beck@users.noreply.github.com> --------- Co-authored-by: NAlexander Brandes <mc.cache@web.de> Co-authored-by: NDaniel Beck <1831569+daniel-beck@users.noreply.github.com>
Showing
想要评论请 注册 或 登录