Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix formatting #81

Merged
merged 1 commit into from May 23, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions index.bs
Expand Up @@ -276,8 +276,8 @@ spec: SHA2; urlPrefix: http://csrc.nist.gov/publications/fips/fips180-4/fips-180
href="http://www.w3.org/TR/CSP2/#source-list-syntax">section 4.2 of the Content
Security Policy Level 2 specification</a>.

For example, given a script resource containing only the string `alert(\'Hello,
world.\');`, an author might choose <a>SHA-384</a> as a hash function.
For example, given a script resource containing only the string `alert('Hello,
world.');`, an author might choose <a>SHA-384</a> as a hash function.
`H8BRh8j48O9oYatfu5AZzq6A9RINhZO5H16dQZngK7T62em8MUt1FLm52t+eX6xO` is the <a
lt="base64 encoding">base64 encoded</a> digest that results. This can be encoded
as follows:
Expand Down
2 changes: 1 addition & 1 deletion spec_v1.markdown
Expand Up @@ -192,7 +192,7 @@ the spec may define options, such as MIME types [[!MIMETYPE]].
This metadata MUST be encoded in the same format as the `hash-source` (without the single quotes)
in [section 4.2 of the Content Security Policy Level 2 specification][csp2-section42].

For example, given a script resource containing only the string `alert(\'Hello, world.\');`,
For example, given a script resource containing only the string `alert('Hello, world.');`,
an author might choose [SHA-384][sha2] as a hash function.
`H8BRh8j48O9oYatfu5AZzq6A9RINhZO5H16dQZngK7T62em8MUt1FLm52t+eX6xO` is the base64-encoded
digest that results. This can be encoded as follows:
Expand Down