5 Replies Latest reply on Aug 14, 2009 12:41 PM by srtr4k

    Proprietary tags - invalid HTML

    srtr4k

      Does anyone know why RoboHelp adds <spaces> tags and what are they used for? Is there a way to prevent RoboHelp from adding it? Since they're not valid HTML tags, the topics created using RoboHelp really aren't compliant. Also, I've never seen the CSS attribute "x-right" and "x-cell" either. Unfortunately Google doesn't have any useful information on these tags.

       

      Any information would be helpful.

       

      Thanks!

        • 1. Re: Proprietary tags - invalid HTML
          Willam van Weelden Adobe Community Professional & MVP

          Hi,

           

          These attributes and tags are just RoboHelps way of maintaining files, and don't appear in the output.

           

          If I recall correctly, RoboHelp inserts the spaces tag whenever you add a couple of spaces in the WYSIWYG editor. If you don't want that, insert some non-breakable spaces (& nbsp;) in html mode. (without the space though, but if I add the html character, the forum turns it into a non-breakable space :-( )

           

          The attributes x-right, x-cell, x-save-position, x-use-null-cells, x-next-tag, and so on help RoboHelp position elements and control how RoboHelp maintains them. Example:

           

          H1 {

          x-next-class: Body-Text;

          x-next-type: P;

          }

           

          in the definition of a style, makes that the next paragraph after a header is a standard paragraph with the class Body-Text. You can remove these from your style sheet, but RoboHelp may put them back whenever you edit the css trough the built-in css editor.

           

          I wouldn't worry about the x- commands in topics, as there removed when you generate your output, and RoboHelp just adds them again when you remove them in html mode. The only way to get rid of them is to edit the html files in an external editor.

           

          Greets,

           

          Willam

          • 2. Re: Proprietary tags - invalid HTML
            Peter Grainge Adobe Community Professional (Moderator)

            Sorry but those tags do not mean RH is not compliant. They are Procesing Instructions which are permitted by W3 in source files.

             

            http://www.w3.org/TR/REC-xml/#sec-pi

             


            See www.grainge.org for RoboHelp and Authoring tips

            • 3. Re: Proprietary tags - invalid HTML
              Willam van Weelden Adobe Community Professional & MVP

              Peter,

               

              I think that only applies to RoboHelp 8. RoboHelp 7 has its own way of using process instructions, such as using a span class for conditional build tags. I don't think that is allowed in the html process instructions (http://www.w3.org/TR/html401/appendix/notes.html#h-B.3.6).

               

              But then again, I don't really care. The output (WebHelp) is still W3C compliant when you check the option W3C compliant topics when you generate the WebHelp.

               

              Greets,

               

              Willam

              • 4. Re: Proprietary tags - invalid HTML
                Peter Grainge Adobe Community Professional (Moderator)

                I wouldn't argue with you on HTML matters! Hadn't picked up the examples were RH7.

                 


                See www.grainge.org for RoboHelp and Authoring tips

                • 5. Re: Proprietary tags - invalid HTML
                  srtr4k Level 1

                  Thank you William and Peter for taking the time to answer my question. - Peter, you're right - I didn't mention I was referring to v7, but in fact I am. William must have somehow read my mind. You'll need to work on developing that skill. Or I can just be more clear when posting questions.

                   

                  Thanks again.