开发者

google calendar html

开发者 https://www.devze.com 2023-01-28 23:21 出处:网络
I\'ve noticed that google calendar doesn\'t allow me to put html into the body of a new event.Is there any 开发者_开发问答workaround to prevent the html from getting stripped out when putting into a g

I've noticed that google calendar doesn't allow me to put html into the body of a new event. Is there any 开发者_开发问答workaround to prevent the html from getting stripped out when putting into a google calendar event? I'm using the google calendar java api for an android application. Thanks


Any web app that accepts arbitrary input from the user has to either strip all tags or otherwise take measures to sanitize the input. Sounds like Google went for the former.

The reason is that with one incorrectly specified tag you can corrupt the entire page not only for yourself but for anyone that views that page. Another approach is to allow non-HTML tags to be used for markup. that's what this site does.

I know this didn't answer your question, but I thought it might help to have an understanding about why they are doing it.

0

精彩评论

暂无评论...
验证码 换一张
取 消