Results 1 to 2 of 2

Thread: HMTL compression

  1. #1
    User
    Join Date
    07-08-10.
    Location
    Madrid, Spain
    Posts
    145

    Default HMTL compression

    Hello

    When I request the compression of HTML in the site settings, the code for Facebook likebox (given by Facebook) does not work ...

    I manually compressed javascript (without compressing the entire page) and it works. The problem only happens when I check the box 'Minify the markup'.

    Do you know why and do you have any solution?

    Thank you
    Eric
    Contao 2.8 -> 3.0
    Evizer Web Agency

  2. #2
    User
    Join Date
    07-08-10.
    Location
    Madrid, Spain
    Posts
    145

    Default Re: HMTL compression

    problem was coming from a string which was beginning with // and contao deleted it...

    The solution is to comvert mystring="//www.domain.com....." by mystring="\/\/www.domain.com..."
    Eric
    Contao 2.8 -> 3.0
    Evizer Web Agency

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •