Closed drgullin closed 10 years ago
<!doctype html> <html> <head> <script>window.jQuery || document.write('<script src="./js/jquery.js">\x3C/script>');</script> <script src="./js/custom.js"></script> </head> </html>
This code compiles to:
<!doctype html> %html %head :javascript window.jQuery || document.write('<script src="./js/jquery.js">\x3C/script>'); %script{:src => "./js/custom.js"}
It can't be properly compiled again to HTML:
<!doctype html> <html> <head> <script> window.jQuery || document.write('<script src="./js/jquery.js">\x3C/script>'); %script{:src => "./js/custom.js"} </script> </head> </html>
Expected html2haml compilation result:
Should be working correctly now!
This code compiles to:
It can't be properly compiled again to HTML:
Expected html2haml compilation result: