Last active
August 29, 2015 14:04
-
-
Save onionhammer/7673438a60eb9b3ece31 to your computer and use it in GitHub Desktop.
Indentation fix
This file contains hidden or 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
when someModule: | |
proc a = | |
const someHtml = """ | |
<div>breaks indentation</div> | |
""" | |
proc b = | |
const someHtml = """ | |
<div>extra indentation</div> | |
""" | |
proc b = | |
const someHtml = html""" | |
<div>fixed indentation</div> | |
""" | |
renders as: | |
<div>breaks indentation</div> | |
<div>extra indentation</div> | |
<div>fixed indentation</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment