pythondotorg icon indicating copy to clipboard operation
pythondotorg copied to clipboard

Bug: meta element `og:description` property needs escaping for job board posts

Open joncle opened this issue 3 years ago • 4 comments

Example: https://www.python.org/jobs/6405/

The content for this is:

<meta property="og:description" content="<p>BENEFITS:</p>
--
  | <ul class="simple">
  | <li>Structured and well-defined book of work</li>
  | <li>Good infrastructure</li>
  | <li>Tailored work calendar</li>
  | <li>Smart and hard-working colleagues</li>
  | <li>Bonu…">

This is causing some of the <ul> element to appear above the site header.

I'd be happy for escaping the " to " for now - it's the first time I've notice this happen so any form of quick fix is fine.

Jon Clements. Co-Chair of the PSF Job Board Working Group.

joncle avatar Apr 04 '22 14:04 joncle

Ooops... of course I meant " to &quot;... ironic given the issue itself is about escaping...

joncle avatar Apr 04 '22 14:04 joncle

Is this issue still open or it is fixed by other members please tell. If not then i want to fix it. I will tell the approach clearly.

SDprogramer avatar Dec 02 '24 15:12 SDprogramer

is this issue resolved if no then i want to resolve it

karnrautela avatar Jan 25 '25 17:01 karnrautela

@JacobCoffee It looks like this issue has been fixed. I am not seeing any issues on any of the job pages that I checked. For example: https://www.python.org/jobs/7963/

genevievebrooks avatar Sep 10 '25 18:09 genevievebrooks