#2231 News truncation breaks markup/markdown

v1.0.0
closed
sf-1 (616)
General
nobody
2015-08-20
2011-06-06
No

Perhaps have an option within the markdown processor to limit output to no more than N chars. Or, a smart html truncation function that we run after converting from markdown.

e.g. /motorola/a1600/news/ which has a link at the current truncation point.

Related

Tickets: #2616

Discussion

  • Jenny Steele - 2011-06-06
    • status: open --> in-progress
    • assigned_to: Jenny Steele
    • size: --> 2
     
  • Jenny Steele - 2011-06-06

    Fix is on js/2231. I used a helper I found on the web which does what we need. To test, make a blog entry with a link in it around the truncation point. Make sure the link text gets truncated to the right size, but the link should also get a closing html tag.

    • assigned_to: Jenny Steele --> John Hoffmann
     
  • Jenny Steele - 2011-06-06
    • status: in-progress --> code-review
    • size: 2 --> 1
     
  • John Hoffman - 2011-06-08

    Merged to dev.

     
  • John Hoffman - 2011-06-08
    • status: code-review --> closed
     

Log in to post a comment.