Remove Empty Attribute

This Forum is for General Issues about Analyzer
Post Reply
bianca_writer
Propeller Head
Posts: 54
Joined: Tue Mar 15, 2016 9:57 am
Location: Los Angeles, CA

Remove Empty Attribute

Post by bianca_writer »

Now that Analyzer is part of Flare 2018, I'm running all of the analysis tools that I didn't have before. The Markup Suggestions tool shows a ton of "Remove empty attribute" issues. It looks like almost every one of my topics has this code in the <head> section:

Code: Select all

<link href="" rel="stylesheet" type="text/css" />
The issue is that the href doesn't link to anything. Why is it blank? How do I fix this?

Screen Shot 2018-05-31 at 1.31.02 PM.png
You do not have the required permissions to view the files attached to this post.
RamonS
Senior Propellus Maximus
Posts: 4293
Joined: Thu Feb 02, 2006 9:29 am
Location: The Electric City

Re: Remove Empty Attribute

Post by RamonS »

I think the link to the stylesheet is malformed. Needs to look like this:
<link rel = "stylesheet"
type = "text/css"
href = "myStyle.css" />
Add the name of the stylesheet you want to reference and then it ought to be fine.
bianca_writer
Propeller Head
Posts: 54
Joined: Tue Mar 15, 2016 9:57 am
Location: Los Angeles, CA

Re: Remove Empty Attribute

Post by bianca_writer »

Thanks for explaining. The Target applies a Master Stylesheet to the whole target, so does each topic even need to link to a stylesheet? Could I just delete that line of code from the <head>?
Psider
Propellus Maximus
Posts: 811
Joined: Wed Jul 06, 2011 1:32 am

Re: Remove Empty Attribute

Post by Psider »

I think you can. I had a look in my trial project, and the only topics with a link ref like yours are the imported Madcap sample topics - none of the topics I created myself have a link ref and they get the style set in my target.

Try with a single topic first, just to make sure.
Post Reply