Hi,

I've looked insite the search.module's (v1.149) .pot.

In

#: modules/search.module:117

As I know, using <ul> in <p> is not a right
way.

CommentFileSizeAuthor
#2 search-invalid-markup.patch.txt993 bytesEgon Bianchet

Comments

Eglish’s picture

here's the offending code from line 116 (v 1.150):

    case 'search#noresults':
      return t('<p><ul>
<li>Check if your spelling is correct.</li>
<li>Remove quotes around phrases to match each word individually: <em>"blue smurf"</em> will match less than <em>blue smurf</em>.</li>
<li>Consider loosening your query with <em>OR</em>: <em>blue smurf</em> will match less than <em>blue OR smurf</em>.</li>
</ul></p>');

It looks like we could just remove the <p> and </p> tags and be okay.

Egon Bianchet’s picture

Version: 4.7.0-beta2 » 4.7.0
Status: Active » Reviewed & tested by the community
StatusFileSize
new993 bytes

Attached patch.

drumm’s picture

Status: Reviewed & tested by the community » Fixed

Committed to HEAD.

Anonymous’s picture

Status: Fixed » Closed (fixed)