kaushalmodi / ox-hugo

A carefully crafted Org exporter back-end for Hugo
https://ox-hugo.scripter.co
GNU General Public License v3.0
874 stars 132 forks source link

fix!: Export Org Verse blocks in div tags instead of p tags #634

Closed kaushalmodi closed 2 years ago

kaushalmodi commented 2 years ago

This change is required so that CSS rules for .verse class actually work. So while this is technically a breaking change, this change actually fixes the CSS for .verse which never worked earlier.

Fixes https://github.com/kaushalmodi/ox-hugo/issues/633.

User Action:

CSS required to style the verse blocks before this fix:

  p.verse + p {
    ..
  }

CSS required after this fix:

  .verse {
    ..
  }

@pdcawley

kaushalmodi commented 2 years ago

Updated test:

pdcawley commented 2 years ago

Thanks! It's like you're reading my mind!

kaushalmodi commented 2 years ago

Hehe, I guess it was close; I read your detailed commit message.