Skip to content

Instantly share code, notes, and snippets.

@felixkiss
Created August 6, 2014 05:34
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 felixkiss/a7dab60340e6e1f48efa to your computer and use it in GitHub Desktop.
Save felixkiss/a7dab60340e6e1f48efa to your computer and use it in GitHub Desktop.
How should input.haml be changed to get the wanted result? (No space between the closing anchor tag and '.', I don't care about other whitespace)
%p
This is very
%a{href: "#"}= "interesting"
.
<p>
This is very
<a href="#">
interesting
</a>
.
</p>
<p>This is very <a href="#">interesting</a>.</p>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment