Put in bold part of description in metatag Drupal

2019-03-03 01:57发布

问题:

I'm using Metatag module of Drupal 7. I want to put part of the description in bold.

For example, I have the following source code:

<meta name="description" content="My new content of web page" />

and I want to put "My new content" in bold.

Is it possible?

回答1:

This is not possible.

The meta-description can only contain text:

The value must be a free-form string that describes the page.

Even if you’d enter HTML elements, they would just be displayed as text.