Last active
January 30, 2017 04:08
-
-
Save scottaddie/deff2cff4847c7bed362764b81878320 to your computer and use it in GitHub Desktop.
Unmanageable HTML concatentation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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