• Tobsn's avatar
    Now with Balanced Parentheses! · a04f38c2
    Tobsn authored
    it's not regex, its not posix, but it can fly… finally balanced
    parentheses to fix all the () issue. it's ugly but it's fast and works
    with all kinds of combinations.
    
    it basically just counts open vs. closed and if they are even again it
    knows exactly where the condition is and does not cut into html or cut
    off too much.
    a04f38c2
blade.php 10.9 KB