renard / o-blog

Standalone orgmode blog exporter. DEPECATED, NOT MAINTAINED
http://renard.github.com/o-blog-v2
260 stars 58 forks source link

table definition is changed in archive #147

Closed dingesista closed 9 years ago

dingesista commented 9 years ago

Experimenting with o-blog version 2.6. (I'm moving my o-blog version 1 site over.)

I have lots of blog posts that include a brief table, and I'm used to setting the HTML attribute like in below example:

\ DONE title of blog post : some tag CLOSED: [2015-06-15 Mon 09:49]

A line of text

+ATTR_HTML: border 1 :cellspacing 0 :cellpadding 6 :rules none :frame void

| table row 1 | | table row 2 |

This works for the post as it is displayed on the front page, but the table attribute is changed in the Archive. For one post the html shows this

   <div class="article-content">
           <p> A line of text
    </p>

    table  border="2" cellspacing="0" cellpadding="6" rules="cols" frame="box"
    <table rules="groups" frame="hsides" border="2" cellpadding="6" cellspacing="0">

for another post, the html shows

    <div class="article-content">
        <p>
    some text </p>

    <table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">

and I don't know why.

dingesista commented 9 years ago

It seems to be related to the page these posts are assigned to. I don't yet understand this completely.

dingesista commented 9 years ago

Making sure all the posts are correctly placed (on the page) makes this problem go away.