Skip to content
This repository has been archived by the owner on Dec 7, 2023. It is now read-only.

Commit

Permalink
[]
Browse files Browse the repository at this point in the history
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=161181301
  • Loading branch information
mikesamuel committed Nov 9, 2017
1 parent 9552088 commit 6dace0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/safehtml-types.md
Expand Up @@ -78,7 +78,7 @@ a variety of values, while using a mix of runtime and compile-time checks.

```java
SafeHtml safeHtml = new SafeHtmlBuilder("a")
.setSrc(SafeUrl.sanitize(untrustedUrl))
.setSrc(SafeUrls.sanitize(untrustedUrl))
.setStyle(SafeStyle.fromConstant("color:red;"))
.setClass("user-link")
.build();
Expand Down

0 comments on commit 6dace0e

Please sign in to comment.