Double question marks in Article content type about the author field?

Events happening in the community are now at Drupal community events on www.drupal.org.
Dave R.'s picture

Perhaps the answer is obvious, but after searching around several times over several days, I still can't figure out where the double question marks come from in my About the Author area on a page created by the Article content type. I'd love to get rid of them, but I don't see what might be creating them in node-article.tpl.php.

It would seem to me that it would be in this code:

<?php
print format_plural($plural, 'About the Author', 'About *the Authors');
?>

Anyone have another idea for me to try?

Here's an image link to what I am talking about:
http://tinyurl.com/2eyhph7

Comments

Those aren't just regular

ksweet's picture

Those aren't just regular question marks, they're some kind of weird character. Post the actual HTML snippet of that block.

Ah. Good idea! Like this?

Dave R.'s picture

Ah. Good idea! Like this?

 <div class="user-profile">
    <h3>About the Author</h3>       

    <div class="clearfix">
      <div class="user-name"><a href="/author/laura-donnelly" property="dc:creator" rel="foaf:publications" typeof="foaf:person" content="Laura Donnelly">Laura Donnelly</a></div>
      <div class="user-job-title">Contributing Writer</div>
      <div class="user-bio"><br />
      </div><!-- /.user-profile -->
<div class="clear"><br/></div>

Ok, I believe this is done

ksweet's picture

Ok, I believe this is done via CSS. I don't have an OP install at my home computer so I don't know exactly which css file it's located in. However, you're looking for the pseudo element :after. I would just use eclipse or a grep to search through all the files looking for it. It probably looks something like this:

h3:after {
content: " >>";
}

As to why they're showing up as weird characters... I don't know. The OS you're using might not have the characters for the font you're displaying.

This is all conjecture BTW. :)

Yes!

Dave R.'s picture

Sure enough! Thanks, ksweet.

.body-content .user-profile h3:after {
content: " »";

Getting rid of the weird characters from the above in my subtheme components.css did it.

OpenPublish

Group organizers

Group categories

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: