Skip to content

docs: fix unescaped html tag#802

Merged
busunkim96 merged 2 commits into
googleapis:masterfrom
Billy4195:fix_791
Apr 21, 2020
Merged

docs: fix unescaped html tag#802
busunkim96 merged 2 commits into
googleapis:masterfrom
Billy4195:fix_791

Conversation

@Billy4195

Copy link
Copy Markdown
Contributor

If the description of the method contains any HTML tag, it will break the HTML rendering.
This PR escapes the HTML tag to prevent this problem depending on the different runtime python version

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Jan 16, 2020
@busunkim96 busunkim96 changed the title docs: Fix unescaped html tag docs: fix unescaped html tag Jan 16, 2020
@busunkim96 busunkim96 added the kokoro:run Add this label to force Kokoro to re-run the tests. label Jan 16, 2020
@kokoro-team kokoro-team removed the kokoro:run Add this label to force Kokoro to re-run the tests. label Jan 16, 2020
If the description of the method contains any HTML tag, it will
break the HTML rendering.
This commit escapes the html tag to prevent this problem.
* Use html standard lib when using python3
* Use cgi standard lib when using python2

Refs googleapis#791
@busunkim96 busunkim96 added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Apr 21, 2020
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Apr 21, 2020
@busunkim96 busunkim96 merged commit 45cace8 into googleapis:master Apr 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants