Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Posts on the main page can have truncated and broken HTML #80

Open
avar opened this Issue · 1 comment

2 participants

@avar

When this
post

appeared on the front page it was rendered like this in Chrome:

To install it, create a new bookmark and paste the following code into the location field (sorry, I couldn't find a way to post this as a javascript: link in this blog):

="http://gist.github.com/424499.js?file=cpan_syntaxhigh_bo…

Which was due to this broken HTML:

                        <div class="entry-body"> 

                            <p>I've just updated a syntax highlighter bookmarklet I wrote a while back so that it now supports Chrome and Safari, besides Firefox.</p> 
<p>I find it useful to syntax highlight when I peek at a module's source code in the <span class="caps">CPAN </span>website. You may find it useful too. </p> 

<p>To install it, create a new bookmark and paste the following code into the location field (sorry, I couldn't find a way to post this as a <code class="prettyprint">javascript:</code> link in this blog):</p> 

<!--defang_script style="font-size:8pt" src-->="http://gist.github.com/424499.js?file=cpan_syntaxhigh_bo…

                        </div><!-- .entry-body -->

When posts are shortened the shortener should be intelligent enough
not to kill the HTML.

@briandfoy

I've experienced this many times. I was excited about blogs.perl.org because I'd get to include other media, such as video, in my posts. I can't tease people with that because there's too many characters in an link to put the video on the front page. :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.