Commit 8c0fe56
committed
add StringExtensions.StripHtml option
- The StripHtml function only removes tags by default and leave html
character codes in tact. This change adds and option (default off)
to the StripHtml function telling it to make a second pass which
unencodes the html encoded characters that remain.1 parent c8c28d9 commit 8c0fe56
File tree
4 files changed
+2221
-1
lines changed- src/ServiceStack.Common
- tests/ServiceStack.Common.Tests
4 files changed
+2221
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
361 | 361 | | |
362 | 362 | | |
363 | 363 | | |
| 364 | + | |
364 | 365 | | |
365 | 366 | | |
366 | 367 | | |
| |||
0 commit comments