The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

WordPress Mobile Pack
A HREF links are getting mangled (4 posts)

  1. cpbotha
    Posted 6 years ago #

    Thank you very much for your great work on the WordPress Mobile Pack. I would really like to use this, and currently have version 1.2.3 installed on my own wp 3.0.1 blog, but it seems to be mangling some of my A HREF links quite badly.

    On this recent blog post: http://cpbotha.net/2010/08/01/the-human-animal-post/

    The following HTML (view source):
    exposed to light in the morning, your eyes talk to your <a title="Wikipedia page on the SCN" href="http://en.wikipedia.org/wiki/Suprachiasmatic_nucleus">supra-chiasmatic nucleus (SCN)</a>

    Is mangled in the mobile version (iPhone 3.0 user-agent) to:
    exposed to light in the morning, your eyes talk to your <a title="Wikipedia page>supra-chiasmatic nucleus (SCN)</a>

    For some or other reason, in the mobile site " on " has been replaced by greater than symbol meaning that whole parts of the post disappear.

    Any help on this would be greatly appreciated!

  2. cpbotha
    Posted 6 years ago #

    Correction -- It has simply remvoed the whole of:
    on the SCN" href="http://en.wikipedia.org/wiki/Suprachiasmatic_nucleus" !!

    Help still very much appreciated. :)

  3. cpbotha
    Posted 6 years ago #

    Oooh, I've just disabled the "remove media" setting, and now it's not mangling the A HREF anymore.

    It looks like it's somehow getting confused with that specific A HREF permutation. Perhaps a bug?

  4. AndreaTrasatti
    Plugin Author

    Posted 6 years ago #

    The "remove media" does some regular expression magic. It might get confused somehow.

    If I understand correctly only a few links are broken, right?

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WordPress Mobile Pack
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic