MCPcopy Create free account
hub / github.com/Squirrel/Squirrel.Windows / AttributeEncode

Method AttributeEncode

src/Squirrel/MarkdownSharp.cs:1645–1648  ·  view source on GitHub ↗
(string s)

Source from the content-addressed store, hash-verified

1643 }
1644
1645 private static string AttributeEncode(string s)
1646 {
1647 return s.Replace(">", "&gt;").Replace("<", "&lt;").Replace("\"", "&quot;");
1648 }
1649
1650 private static readonly char[] _problemUrlChars = @"""'*()[]$:".ToCharArray();
1651

Callers

nothing calls this directly

Calls 1

ReplaceMethod · 0.45

Tested by

no test coverage detected