• Resolved maxouwell

    (@maxouwell)


    Hello,

    I have an issue on tag when I use simply static 1.2.3. The following html test case

    <html><body>
                            <div class="blog_post">                 <div class="post_titlecontent">
                                    <a class="post_link" href=" https://192.168.56.101/er/ "><h7>iew??a|</h7>
    
                                                    <i><p>E ????A.</p>
    <p> icia|</p>
    <p>?</p>
    <p class="hide-if-no-js"><a href="https://192.168.56.101/wp-content/uploads/2015/06/logo.jpg"><img class=" wp-image-1823 aligncenter" src="https://192.168.56.101/wp-content/uploads/2015/06/logo-300x268.jpg" alt="logo radio zinzine" width="196" height="175" /></a></p>
    <!--[if lt IE 9]><script>document.createElement('audio');</script><![endif]-->
    <audio class="wp-audio-shortcode" id="audio-1824-1" preload="none" style="width: 100%; visibility: hidden;" controls="controls"><source type="audio/mpeg" src="https://192.168.56.101/wp-content/uploads/2015/06/EXTRAIT.mp3?_=1" /><a href="https://192.168.56.101/wp-content/uploads/2015/06/EXTRAIT.mp3">https://192.168.56.101/wp-content/uploads/2015/06/EXTRAIT.mp3</a></audio>
     </i>
    
                                    </a>
    
                            </div>
    
            <a href="https://192.168.56.101/collections/" class="leparent" />
            AT 01   </a>
    
    </body></html>

    become

    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "https://www.w3.org/TR/REC-html40/loose.dtd">
    <html><body>
                            <div class="blog_post">                 <div class="post_titlecontent">
                                    <a class="post_link" href="https://192.168.56.101:8080/er/"><h7>iewé…</h7><i></i><p>E à?A.</p>
    <p> ici…</p>
    <p>?</p>
    <p class="hide-if-no-js"><a href="https://192.168.56.101:8080/wp-content/uploads/2015/06/logo.jpg"><img class=" wp-image-1823 aligncenter" src="https://192.168.56.101:8080/wp-content/uploads/2015/06/logo-300x268.jpg" alt="logo radio zinzine" width="196" height="175"></a></p>
    <!--[if lt IE 9]><script>document.createElement('audio');</script><![endif]-->
    <audio class="wp-audio-shortcode" id="audio-1824-1" preload="none" style="width: 100%; visibility: hidden;" controls="controls"><source type="audio/mpeg" src="https://192.168.56.101:8080/wp-content/uploads/2015/06/EXTRAIT.mp3?_=1"></source><a href="https://192.168.56.101:8080/wp-content/uploads/2015/06/EXTRAIT.mp3">https://192.168.56.101:8080/wp-content/uploads/2015/06/EXTRAIT.mp3</a></audio></a>
    
                            </div>
    
            <a href="https://192.168.56.101:8080/collections/" class="leparent"></a>
            AT 01
    
    </div></body></html>

    Note the misplaced tag < / i > (line 11 change place to line 4) and < / a > (line 18 change place to line 17).

    Can you see if it can be fixed ?
    Thanks !

    https://www.ads-software.com/plugins/simply-static/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi maxouwell,

    Thanks for reporting this issue. Sorry to hear Simply Static is mangling your HTML. I’ll take a look and see what I can do to fix this. Thanks for providing a test case! That’s extraordinarily helpful.

    Best,
    Scott

    Hi maxouwell,

    Sorry it took us a while to get to this, but if you try out v1.6.0 of Simply Static I think you’ll find that this issue no longer occurs. Let me know how it goes!

    Best,
    Scott

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Tag misplace’ is closed to new replies.