twilson63 / html2haml

Convert HTML Snippets to Haml
http://html2haml.heroku.com
MIT License
180 stars 82 forks source link

twitter html widget code bug #21

Open kalashnikovisme opened 11 years ago

kalashnikovisme commented 11 years ago

after pasting code for twitter widget and push button "convert" application is redirect me to data; path.

here is the code of twitter widget

<a class="twitter-timeline" href="https://twitter.com/search?q=deadlinecamp" data-widget id="352915126443200512">Твиты о "deadlinecamp"</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s [0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
freemanoid commented 11 years ago

Confirmed with such text:

<a href="https://twitter.com/share" class="twitter-share-button">Tweet</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>
twilson63 commented 10 years ago

Looks like the bang is throwing it off: Githubissues.

  • Githubissues is a development platform for aggregating issues.