Skip to main content
QuintinSeegers
Legend
July 31, 2023
Answered

">" character being added to prefix automatically (FM2022 v17.0.2)

  • July 31, 2023
  • 1 reply
  • 913 views

I'm creating an element in my EDD to add custom HTML/CSS tags using Prefix rules.  However, I found that FrameMaker automatically adds the ">" character to the end of the Prefix rules, e.g. the Prefix Rule: <a href= shows as <a href=> in the document. Using Autonumbering can't be used because the autonumbering isn't copied when we copy the text from the document into another application.

Why is FM adding the extra ">" character and how do I stop this from happening?

    This topic has been closed for replies.
    Correct answer Bob_Niland

    You have great timing for your question, as I'm teaching an online EDD class this week!

    I suspect that Fm is having trouble with the < because it is a reserved character used for markup.

    Try using alternate methods of entering the <, using hex, or other representation.  I tested using the \x3c code, but it didn't parse in my prefix the way it would in a "regular" FrameMaker dialog.

     

    What's the goal here...to speed entry of URL content in your doc?

    Maybe a script would be a better solution, since it would add the characters as content, rather than formatting.

     

    -Matt

     

     


    re: I tested using the \x3c code, but it didn't parse in my prefix the way it would in a "regular" FrameMaker dialog.

    Is there a more general escaping for EDD elements, like \<

    1 reply

    Matt-Tech Comm Tools
    Community Expert
    Community Expert
    August 1, 2023

    It sounds like you are using reserved characters. Can you post the relevant portion of your EDD?

    -Matt Sullivan, FrameMaker Course Creator, Author, Trainer, Consultant
    QuintinSeegers
    Legend
    August 1, 2023

    Hi Matt,

    Below is a screenshot of the element definition:

    Matt-Tech Comm Tools
    Community Expert
    Community Expert
    August 1, 2023

    You have great timing for your question, as I'm teaching an online EDD class this week!

    I suspect that Fm is having trouble with the < because it is a reserved character used for markup.

    Try using alternate methods of entering the <, using hex, or other representation.  I tested using the \x3c code, but it didn't parse in my prefix the way it would in a "regular" FrameMaker dialog.

     

    What's the goal here...to speed entry of URL content in your doc?

    Maybe a script would be a better solution, since it would add the characters as content, rather than formatting.

     

    -Matt

     

     

    -Matt Sullivan, FrameMaker Course Creator, Author, Trainer, Consultant