karnov / htmltoword

Ruby html to word gem
MIT License
179 stars 71 forks source link

In Headings not text-align. #13

Open ghost opened 9 years ago

ghost commented 9 years ago

How to text-align an heading?

Whatever from h1 to h6 nothing to do with text-align:center, right, left or justify.

It works with p tag.

How to?

anitsirc commented 9 years ago

This is a bug, we will fix it in the next release :)

You can also configure you're heading definition in your custom template so that all h1 or hx are aligned in a particular way.

ghost commented 8 years ago

Insert <xsl:call-template name="text-alignment" /> to base.xslt line 95 after

richardrails commented 5 years ago

it is still not fixed