[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] [HTML][PATCH] use 'class' instead of 'align' for caption
From: |
Vladimir Lomov |
Subject: |
[O] [HTML][PATCH] use 'class' instead of 'align' for caption |
Date: |
Sun, 29 Dec 2013 08:23:15 +0900 |
User-agent: |
Mutt/1.5.22 (2013-10-16) |
Hello,
I prepared a small patch to make ox-html use 'class' attribute instead
of 'align' in caption element when it is used in tables.
The reason is simple, according to xhtml1 Strict specification 'caption'
element doesn't have 'align' attribute, this is true for HTML5 too.
Instead of 'align' attribute it is more cleanly to use 'class' attribute
and to add corresponding entries to CSS.
In included patch I didn't add word TINYCHANGE because I don't is it
small or not (I don't understand what exactly the phrase
> your total contribution (all patches you submit) should change less than
> 15 lines
means, how lines are counted).
---
WBR, Vladimir Lomov
--
Never argue with a man who buys ink by the barrel.
0001-HTML-export-Use-class-for-caption-instead-of-align.patch
Description: Text Data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [O] [HTML][PATCH] use 'class' instead of 'align' for caption,
Vladimir Lomov <=