Ticket #719 (new defect)

Opened 3 years ago

Last modified 2 years ago

Transition Culture HTML Problems

Reported by: chris Owned by: ed
Priority: major Milestone: Maintenance
Component: Parrot server Keywords:
Cc: ed, sam, annesley Estimated Number of Hours: 0.0
Add Hours to Ticket: 0 Billable?: yes
Total Hours: 0.5


If you look at old Transition Culture articles they had hyperlinks and blockquotes, for example:

If you look at the version we now have this formatting has been lost and the first paragraph is a mess:

The formatting wasn't lost when the new TC design was first deployed:

It has happened since then.

We should consider investigating what caused the problems and how they can be fixed?

This might be a task that Simon would be best placed to undertake?

Change History

comment:1 Changed 3 years ago by chris

  • Add Hours to Ticket changed from 0.0 to 0.25
  • Total Hours changed from 0.0 to 0.25

The page referenced above contains:

<a href="/wp-content/uploads/Installation_2_BP.jpg'?phpMyAdmin=ywTI6M3uGhTA2DrWfpYkXoeHMu5 title='solar' 

This string is also in the database dump file from 9th December:

(68544,'','2013-12-06 17:35:46','GET','/wp-content/uploads/redalder2.JPG\'?phpMyAdmin=ywTI6M3uGhTA2DrWfpYkXoeHMu5%20title=%27alerwood%27%20%3E%3Cimg%20c

I suspect:

  1. The site was compromised when Simon was running it.
  1. The processing of text like this: called ["The Place of a Local Currency in a World Economy"](http://www.schumachersociety.org/newsletters/04jun18.html”Swann”) into hyperlinks has been broken somehow.

Changed 2 years ago by chris

comment:2 Changed 2 years ago by chris

  • Add Hours to Ticket changed from 0.0 to 0.25
  • Total Hours changed from 0.25 to 0.5

This issue was discussed after the meeting yesterday, I have attached a screenshot of an example page on the current site to illustrate the problem:

Screenshot of  http://transitionculture.org/2006/01/24/local-energy-local-currency-local-power/

And a screenshot from before the article was corrupted from https://web.archive.org/web/20080429205320/http://transitionculture.org/2006/01/24/local-energy-local-currency-local-power/

Screenshot of https://web.archive.org/web/20080429205320/http://transitionculture.org/2006/01/24/local-energy-local-currency-local-power/

I had to make some changes to the Nginx and Trac config files to allow images of this size to be posted.

Last edited 2 years ago by chris (previous) (diff)

comment:3 Changed 2 years ago by ed

  • Cc annesley added

discussed this with Rob who knew about it - also with Annesley - so adding Annesley to this ticket for his brain

comment:4 Changed 2 years ago by annesley

hi, i'm not sure who is owning this. should i crack on with it. i see the priority is "major"

comment:5 Changed 2 years ago by ed

Annesley I remember you saying that there was a way to sort it out. It's worth spending 15 minutes investigating at most for now. We also need to ask Simon Lumpy Lemon, who owned the site originally for his input. I'll email Simon now. This isn't an urgent issue for Rob so we don't have to dash into anything.

comment:6 Changed 2 years ago by ed

Reply from Simon:

I'm away on holiday at the moment, I can take a proper look after the 14th when I'm back at work.

Two quick thoughts for now:

  1. It looks as though the links and blockquote in that post are written in Markdown format. I have no idea why that would be the case, I didn't even know that Rob knew Markdown! There is no plugin running to interpret the Markdown, hence the messed-up formatting.
  1. Markdown uses square brackets for links, which is also what WordPress uses for shortcodes, so my guess is the two are clashing somehow and the WordPress shortcode handler is getting in a muddle.

Let me know if you get to the bottom of it or if you want me to look into it after my return. It maybe as simple as installing a Markdown plugin (or it might not...!).

Note: See TracTickets for help on using tickets.