diff options
author | Ms2ger <ms2ger@gmail.com> | 2014-07-25 19:27:02 +0200 |
---|---|---|
committer | Ms2ger <ms2ger@gmail.com> | 2014-07-25 19:27:02 +0200 |
commit | bacae0e9bc9014784d917f48000093d7acb6a3ee (patch) | |
tree | a64879aa948b30736a681b6cace0d97db9b489e3 /src | |
parent | df71ea8b086cd5618d5a33ca4d6eee0eef2592c5 (diff) | |
download | servo-bacae0e9bc9014784d917f48000093d7acb6a3ee.tar.gz servo-bacae0e9bc9014784d917f48000093d7acb6a3ee.zip |
Escape HTML in the cors.rs documentation.
Rustdoc passes the code straight through, leading to poor generated HTML.
Diffstat (limited to 'src')
-rw-r--r-- | src/components/script/cors.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/script/cors.rs b/src/components/script/cors.rs index 8cfca743808..df168084376 100644 --- a/src/components/script/cors.rs +++ b/src/components/script/cors.rs @@ -4,8 +4,8 @@ //! A partial implementation of CORS //! For now this library is XHR-specific. -//! For stuff involving <img>, <iframe>, <form>, etc please check what the request mode should be -//! and compare with the fetch spec +//! For stuff involving `<img>`, `<iframe>`, `<form>`, etc please check what +//! the request mode should be and compare with the fetch spec //! This library will eventually become the core of the Fetch crate //! with CORSRequest being expanded into FetchRequest (etc) |