Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Option keyDescriptionExample of usage
:lowercaseConvert all characters to lowercase before being used{=Username:lowercase }
:uppercaseConvert all characters uppercase before being used{=Username:uppercase }
:capitalizefirstConvert the first character uppercase before being used. This does not convert the other characters lowercase. Combine with :lowercase  to make only the first character in uppercase.{=Username:capitalizefirst}
{=Username:lowercase:capitalizefirst}
:htmlencode

Encodes the values to a valid HTML representation, replacing any characters that would otherwise be interpreted as HTML tags.
Uses the .NET HttpUtility.HtmlEncode() method internally. (http://msdn.microsoft.com/en-us/library/system.web.httputility.htmlencode.aspx)

{=Username:htmlencode }
:urlencode

Encodes the values to a valid URL representation that can be used a in query strings etc.
Uses the .NET HttpUtility.UrlEncode() method internally. (http://msdn.microsoft.com/en-us/library/system.web.httputility.urlencode.aspx)

{=Username:urlencode }
:htmlnbspConverts all spaces to   to prevent unwanted line breaks in HTML based user interfaces. Is only used when a web based UI is calling the placeholder feature.{=Username:htmlnbsp }

...