Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Framemaker Dynamic Filters (HTML5) - Dash and Slash in condition names

Participant ,
Sep 06, 2020 Sep 06, 2020

Hello fellows,

 

It appears that when setting up the FM Publisher HTML5 dynamic filters, FM replaces a dash and a slash in the condition flag names with underscore. Any way to avoid that? Tried html entities for dash and slash - no luck.

 

Thanks,

Roman

TOPICS
Publishing , Responsive HTML5
440
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Participant , Sep 06, 2020 Sep 06, 2020

Hi Bob,

 

Thank you for your response!

Unless I miss something, nothing happens when adding this unicode representation of these characters.

Framemaker doesn't parse it (turns it to "U_").

 

Regards,

Roman

 

Translate
Community Expert ,
Sep 06, 2020 Sep 06, 2020

What happens with:
[∕] U+2215 DIVISION SLASH
[‐] U+2010 HYPHEN (among other Unicode "dash" options)

For anything that's going to end up in an HTML or XML filename, characters need to not only be compliant with all random operating systems that might end up hosting, browsing or locally saving the work, but sound practice also needs to avoid characters red-flagged as phishing surrogates (which U+2215 is), and FM may be honoring such factors.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Sep 06, 2020 Sep 06, 2020

Hi Bob,

 

Thank you for your response!

Unless I miss something, nothing happens when adding this unicode representation of these characters.

Framemaker doesn't parse it (turns it to "U_").

 

Regards,

Roman

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 10, 2020 Sep 10, 2020

I recommend removing special characters like dash, slash, pound, tilde, exclaim, etc. from your labels across all your catalogs, and across your markers as well. When exporting to things like HTML5 and EPUB, you'll discover those characters are confused with code used in those systems and you're likely to get unexpected results.

An easy way to clean out those labels is Rick Quatro's FindChangeFormatsBatch https://techcommtools.com/my-fm-secret-weapon-findchangeformatsbatch/

-Matt Sullivan
FrameMaker Course Creator, Author, Trainer, Consultant
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Sep 10, 2020 Sep 10, 2020
LATEST

Hi Matt,

 

Thank you for your response!

In our use case, we need a hyphen and a slash to appear in the names of dynamic filter tags. This is the only place where these chars are not parsed correctly.

 

Regards,

Roman

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines