Jump to:

1851 Posts in 1606 Topics by 561 members

Blog Module

SilverStripe Forums » Blog Module » Links not displaying correctly (2.4rc1/blog 0.3.0)

Discuss the Blog Module.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 752 Views
  • phawley
    Community Member
    21 Posts

    Links not displaying correctly (2.4rc1/blog 0.3.0) Link to this post

    When I use $Content.FirstParagraph to display the first paragraph of a blog entry, it renders links as such:

    linked words[http://this.is.the url]

    instead of:

    <a href="http://this.is.the url">linked words</a>

    I have solved this in the meantime by using $ParagraphSummary (which wraps it in a plain <p> tag, unlike First.Paragraph, and thus I prefer not to use it), which does properly parse the entry and create the appropriate <a> tag.

    Is this some funkiness due to the fact that I'm using WYSIWYG editing (specified in ~/mysite/_config.php)?

    When viewing the raw HTML in the admin interface, it looks as it should within an <a> tag.

    I am using SS 2.4rc1 and blog-v0.3.0.

    Thanks for your thoughts,
    Patrick Hawley

Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.