As shown in the screenshot below, my OSQA installation (the current SVN trunk) is displaying placeholder text on the FAQ page. Any idea what might cause this?

visible placeholders in FAQ text

asked 13 Aug '10, 02:14

Kevin%20Yank's gravatar image

Kevin Yank
466172225
accept rate: 28%


This is exactly the same problem has you previous question about the comments. Bad markdown parser version, or even the wrong lib.

link

answered 13 Aug '10, 10:35

Hernani%20Cerqueira's gravatar image

Hernani Cerq... ♦♦
17.7k96885
accept rate: 53%

Strange, since markdown formatting is working fine for me in question text.

Looks like I’ve got version 1.7 of the python-markdown egg.

$locate markdown
...
/usr/share/python-support/python-markdown
/usr/share/python-support/python-markdown/.version
/usr/share/python-support/python-markdown/markdown-1.7.egg-info
/usr/share/python-support/python-markdown/markdown.py
/usr/share/python-support/python-markdown/mdx_footnotes.py
/usr/share/python-support/python-markdown/mdx_rss.py
/var/cache/apt/archives/python-markdown_1.7-1_all.deb
/var/lib/dpkg/info/python-markdown.list
/var/lib/dpkg/info/python-markdown.md5sums
/var/lib/dpkg/info/python-markdown.postinst
/var/lib/dpkg/info/python-markdown.prerm
/var/lib/python-support/python2.5/markdown-1.7.egg-info
/var/lib/python-support/python2.5/markdown.py
/var/lib/python-support/python2.5/markdown.pyc
(15 Aug '10, 20:17) Kevin Yank

My OSQA log file contains the following Markdown-related messages:

/var/lib/python-support/python2.5/markdown.py TIME: 2010-08-15 20:09:27,746 MSG: markdown.py:message:55 couldn't load extension settingsparser (looking for mdx_settingsparser module)
/var/lib/python-support/python2.5/markdown.py TIME: 2010-08-15 20:09:47,034 MSG: markdown.py:message:55 in markdown.markdown(), received text:
(...question/comment/page text...)
(15 Aug '10, 20:17) Kevin Yank

Updating to python-markdown 2.0.3 fixed this problem!

sudo easy_install markdown
(15 Aug '10, 20:21) Kevin Yank
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×214
×16

Asked: 13 Aug '10, 02:14

Seen: 1,620 times

Last updated: 15 Aug '10, 20:21

powered by OSQA