Forum
Blogs displaying html tags even though template is set to use ckeditor
Hi this is the code:
<perch:blog id="postDescHTML" type="textarea" label="Post" order="2" editor="ckeditor" markdown="false" size="xxl autowidth" required="false" />
if you view https://www.qccartoon.com/post3.php?s=2017-10-13-queens-counsel-wins-best-strip-cartoon you can see tht <p> tags are displaying.
Is the code above missing something which will alllow it to display HTML?
Diagnostics report:
Perch: 2.8.34 Production mode: Production (100) Installed apps: content (2.8.34), assets (2.8.34), categories (2.8.34), perch_blog (5.0), perch_forms (1.8.3) DB driver: PDO DB tables: perch2_blog_authors (1), perch2_blog_categories (0), perch2_blog_comments (168), perch2_blog_index (6825), perch2_blog_posts (258), perch2_blog_posts_to_categories (0), perch2_blog_posts_to_tags (959), perch2_blog_sections (1), perch2_blog_tags (70), perch2_blogs (1), perch2_categories (0), perch2_category_counts (0), perch2_category_sets (1), perch2_content_index (97), perch2_content_items (61), perch2_content_regions (14), perch2_forms (1), perch2_forms_responses (249), perch2_navigation (0), perch2_navigation_pages (0), perch2_page_templates (1), perch2_pages (33), perch2_resource_log (911), perch2_resource_tags (0), perch2_resources (922), perch2_resources_to_tags (0), perch2_settings (26), perch2_user_passwords (0), perch2_user_privileges (40), perch2_user_role_privileges (15), perch2_user_roles (2), perch2_users (1) Users: 1 PHPMailer: 5.2.21 App runtimes: <?php $apps_list = array( 'content', 'categories', 'perch_blog', 'perch_forms' ); ?> Scheduled tasks for perch_blog: delete_spam_comments (1440 mins) Editor plug-ins: ckeditor H1: f349c2d98935551110265c09ca8ed7a0 L1: db15fb8297b5c9839a9578c9315ec6d6 F1: 6a33f95eca3667f9e0c39bf5ca2980fe headerColour: #ffffff content_singlePageEdit: 1 helpURL: siteURL: / hideBranding: 0 content_collapseList: 1 lang: en-gb latest_version: 2.8.15 headerScheme: light perch_blog_post_url: post3.php?s={postSlug} perch_blog_slug_format: %Y-%m-%d-{postTitle} perch_blog_akismet_key: dashboard: 0 content_hideNonEditableRegions: 0 update_2.1: done update_2.2.9: done perch_blog_update: 5.0.1 perch_blog_comment_notify: 0 update_2.8.31: done on_sale_version: perch_blog_site_name: QC Cartoon perch_blog_max_spam_days: 7 hide_pwd_reset: 0 content_frontend_edit: 0 update_2.8.34: done PERCH_DEVELOPMENT: 10 PERCH_STAGING: 50 PERCH_PRODUCTION: 100 PERCH_DB_USERNAME: qccartoo_perch PERCH_DB_SERVER: 10.169.0.94 PERCH_DB_DATABASE: qccartoo_perch PERCH_DB_PREFIX: perch2_ PERCH_TZ: UTC PERCH_EMAIL_FROM: matt@sorcewebdesign.co.uk PERCH_EMAIL_FROM_NAME: Matthew Saunders PERCH_LOGINPATH: /perch PERCH_PATH: /var/sites/q/qccartoon.com/public_html/perch PERCH_CORE: /var/sites/q/qccartoon.com/public_html/perch/core PERCH_RESFILEPATH: /var/sites/q/qccartoon.com/public_html/perch/resources PERCH_RESPATH: /perch/resources PERCH_HTML5: 1 PERCH_EMAIL_METHOD: smtp PERCH_EMAIL_HOST: smtp.sendgrid.net PERCH_EMAIL_AUTH: 1 PERCH_EMAIL_SECURE: tsl PERCH_EMAIL_PORT: 587 PERCH_EMAIL_USERNAME: sorcesmtp PERCH_RUNWAY: PERCH_ERROR_MODE: DIE PERCH_DATE_LONG: %d %B %Y PERCH_DATE_SHORT: %d %b %Y PERCH_TIME_SHORT: %H:%M PERCH_TIME_LONG: %H:%M:%S PERCH_RUNWAY_ROUTED: PERCH_STRONG_PASSWORDS: PERCH_DEBUG: PERCH_PREVIEW_ARG: preview PERCH_TEMPLATE_PATH: /var/sites/q/qccartoon.com/public_html/perch/templates PERCH_DEFAULT_DOC: index.php PERCH_DEFAULT_EXT: .php PERCH_PRODUCTION_MODE: 100 PERCH_RWD: PERCH_HTML_ENTITIES: PERCH_SSL: PERCH_STRIPSLASHES: PERCH_PROGRESSIVE_FLUSH: 1 PERCH_PARANOID: PERCH_FORCE_SECURE_COOKIES: PERCH_PASSWORD_MIN_LENGTH: 6 PERCH_MAX_FAILED_LOGINS: 10 PERCH_AUTH_LOCKOUT_DURATION: 1 HOUR PERCH_VERIFY_UPLOADS: PERCH_AUTH_PLUGIN: PERCH_DB_CHARSET: utf8 PERCH_DB_PORT: PERCH_DB_SOCKET: PERCH_SESSION_TIMEOUT_MINS: 20 HOSTING SETTINGS
PHP: 5.6.22 Zend: 2.6.0 OS: Linux SAPI: cgi-fcgi Safe mode: not detected MySQL client: mysqlnd 5.0.11-dev - 20120503 - $Id: 76b08b24596e12d4553bd41fc93cccd5bac2fe7a $ MySQL server: 5.6.30 Free disk space: 7.46 TB Extensions: Core, date, ereg, libxml, openssl, pcre, sqlite3, zlib, bcmath, calendar, ctype, curl, dom, hash, fileinfo, filter, ftp, gd, gettext, SPL, iconv, session, intl, json, ldap, mbstring, mcrypt, mssql, standard, mysql, mysqlnd, mysqli, PDO, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, Phar, posix, Reflection, imap, SimpleXML, soap, sockets, exif, tidy, tokenizer, xml, xmlreader, xmlrpc, xmlwriter, xsl, zip, cgi-fcgi, memcached, memcache, mhash, ionCube Loader, Zend Guard Loader GD: Yes ImageMagick: No PHP max upload size: 100M PHP max form post size: 100M PHP memory limit: 128M Total max uploadable file size: 100M Resource folder writeable: Yes Session timeout: 240 minutes Native JSON: Yes Filter functions: Yes Transliteration functions: Yes DOCUMENT_ROOT: /var/sites/w/www.qccartoon.com/public_html GATEWAY_INTERFACE: CGI/1.1 HTTP_ACCEPT: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,/;q=0.8 HTTP_ACCEPT_ENCODING: gzip, deflate HTTP_ACCEPT_LANGUAGE: en-GB,en-US;q=0.8,en;q=0.6 HTTP_CONNECTION: close HTTP_COOKIE: cmsa=1; __utmt=1; __utma=198077615.1326134846.1507892901.1507892901.1507892901.1; __utmb=198077615.27.10.1507892901; __utmc=198077615; __utmz=198077615.1507892901.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); PHPSESSID=423642fd173473712de262fa7e053366 HTTP_HOST: www.qccartoon.com HTTP_REFERER: https://www.qccartoon.com/perch/core/settings/diagnostics/ HTTP_UPGRADE_INSECURE_REQUESTS: 1 HTTP_USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36 HTTP_X_FORWARDED_FOR: 86.144.62.251 PATH: /bin QUERY_STRING: extended REDIRECT_STATUS: 200 REMOTE_ADDR: 86.144.62.251 REMOTE_PORT: 39025 REQUEST_METHOD: GET REQUEST_URI: /perch/core/settings/diagnostics/?extended SCRIPT_FILENAME: /var/sites/w/www.qccartoon.com/public_html/perch/core/settings/diagnostics/index.php SCRIPT_NAME: /perch/core/settings/diagnostics/index.php SERVER_ADDR: 10.168.1.222 SERVER_ADMIN: you@example.com SERVER_NAME: www.qccartoon.com SERVER_PORT: 80 SERVER_PROTOCOL: HTTP/1.1 SERVER_SOFTWARE: Apache PHP_SELF: /perch/core/settings/diagnostics/index.php REQUEST_TIME_FLOAT: 1507896140.47 REQUEST_TIME: 1507896140 argc: 1
Matt
sorted - i just added:
html="true"