Forum
Blog converting to smart quotes and breaking textile/markitup links
The blog detail page seems to be converting quotes used for a link into smart quotes and therefore breaking the link, so instead out outputting:
The minutes for the April 2014 Parish Council Meeting are now available from the Parish Council meetings page.
I get
The minutes for the April 2014 Parish Council Meeting are now available from the \“Parish Council meetings\â€:https://www.annesleyfelley-pc.org.uk/parish-council/meetings.php page.
The excerpt work okay in the list of posts, here is the template.
<article class="hentry">
<perch:blog id="postTitle" type="text" label="Title" required="true" size="xl autowidth" order="1" suppress="true" />
<h2 class="published">Published <perch:blog id="postDateTime" type="date" label="Date" time="true" format="%d %B %Y" divider-before="Meta information" /></h2>
<img src="<perch:blog id="image" type="image" width="320" height="320" crop="true" label="Image" order="4" />" alt="<perch:blog id="postTitle" />" />
<div class="description entry-content">
<perch:blog id="postDescHTML" type="textarea" label="Post" order="2" editor="markitup" textile="true" size="xxl autowidth" required="true" />
</div>
</article>
<perch:blog id="excerpt" type="textarea" label="Excerpt" textile="true" order="3" suppress="true" size="s" editor="markitup" />
<perch:blog id="image" type="image" width="500" height="500" suppress="true" />
Any ideas why the Post isn’t working but the excerpt is?
We've just released a new version of blog which fixes a problem with legacy PHP versions. Can you try updating to that?
Thanks Rachel, I’ve updated to Perch 2.5 and Blog 4.1 and it’s working perfectly now.
I'm experiencing this exact problem with Blog 4.5.2 and Perch 2.6.6 and PHP 5.4.33
Diagnostics below...
Perch: 2.6.6, PHP: 5.4.33, MySQL: 5.0.91, with PDO Server OS: Linux, cgi-fcgi Installed apps: content (2.6.6), assets (2.6.6), categories (2.6.6), perch_blog (4.5.2) App runtimes: <?php include(PERCH_PATH.'/core/apps/content/runtime.php'); include(PERCH_PATH.'/addons/apps/perch_blog/runtime.php'); ?> PERCH_LOGINPATH: /perch PERCH_PATH: /home/linweb09/s/social360monitoring.com/user/htdocs/perch PERCH_CORE: /home/linweb09/s/social360monitoring.com/user/htdocs/perch/core PERCH_RESFILEPATH: /home/linweb09/s/social360monitoring.com/user/htdocs/perch/resources Image manipulation: GD PHP limits: Max upload 20M, Max POST 20M, Memory: 64M, Total max file upload: 20M Resource folder writeable: Yes SCRIPT_NAME: /perch/core/settings/diagnostics/index.php REQUEST_URI: /perch/core/settings/diagnostics/ DOCUMENT_ROOT: /home/linweb09/s/social360monitoring.com/user/htdocs HTTP_HOST: social360monitoring.com
Hi Scott
please start your own thread including your template
sure thing, thanks