Back

If your email is not recognized and you believe it should be, please contact us.

  • You must be logged in to reply to this topic.Login

Strange HTML Export

Tagged: , ,

Return to Member Forum

  • Author
    Posts
    • #66005

      In CS6 and earlier I could previously export my documents to HTML using the File > Export > HTML. In the HTML Export dialog box under Advance, I uncheck the “Generate CSS” and I had a fine structure like this:

      <h2>USA’s uni-system giver en ringe uddannelse</h2>
      <p>INTERVIEW. Massive studieafgifter har ført til, at for første gang i historien er en US-generation af unge dårligere uddannede end deres forældre. Systemet er bygget på illusioner.</p>
      Etc …

      Now the export to HTML does not work as intended in neither CC or CS6. I’m still exporting as HTML, and still uncheck the “Generate CSS”, but I now have a poor structure (even though I turned CSS off):
      <h2 class=”Brødtekst-gruppe_R”>USA’s uni-system giver en ringe uddannelse</h2>
      <p class=”Brødtekst-gruppe_U”>INTERVIEW. Massive studieafgifter har ført til, at for første gang i historien er en US-generation af unge dårligere uddannede end deres forældre. Systemet er bygget på illusioner. </p>
      Etc …

      As you can see, I got some classes which I don’t want, and haven’t asked for (unchecked the “Generate CSS”)! So my questions are:

      1) Is this a bug or is this intentional?
      2) How can I fix this, so I don’t need to save for IDML, open in CS 5.5, and then export for HTML?

      – Kenn

    • #66006
      David Blatner
      Keymaster

      This is not my specialty, but I thought that InDesign always puts those classes in when you have paragraph and character styles assigned to text. Turning off CSS only stops it from creating a CSS file?

    • #66013

      Exactly, but before updating CS6 to the latest version (8.02), it didn’t add any class at all. Only straight HTML wihtout classes, which was what I wanted.

      After updating both CS6 and CC add these classes, which I can not use in my WordPress projects etc. …

      – Kenn

    • #66014
      David Blatner
      Keymaster

      Have you checked the paragraph styles dialog box? Look for the Emit Styles panel there (at the bottom). I believe that lets you control some of this.

    • #66015

      Yep – but I got the same result :-(

      – Kenn

Viewing 4 reply threads
  • The forum ‘General InDesign Topics (CLOSED)’ is closed to new topics and replies.
Forum Ads