Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@scottaddie
Last active January 30, 2017 04:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save scottaddie/deff2cff4847c7bed362764b81878320 to your computer and use it in GitHub Desktop.
Save scottaddie/deff2cff4847c7bed362764b81878320 to your computer and use it in GitHub Desktop.
Unmanageable HTML concatentation
output.Content.SetHtmlContent(
$"<img src=\"images/{handContext.Player}.png\" alt=\"avatar\" class=\"center-block\" /><div class=\"text-center\"><h2 class=\"{suitAttributes.colorClass}\"><strong>{suitAttributes.characterCode}</strong></h2><p>{Rank}</p></div>");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment