Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Xtn.Pagebanner: Add extra space after hasPosition or some pageBanners will omit wpb-banner-image #618

Closed
gnosygnu opened this issue Nov 25, 2019 · 0 comments

Comments

@gnosygnu
Copy link
Owner

Some pagebanners were showing an enlarged top-right hand corner of the image (Germany; United States of America).

This was because of a missing space in the mustache file, before the style attribute.

  • fail: class="wpb-banner-image"{{hasPosition}}...style="max-width:{{maxWidth}}px"
  • pass: class="wpb-banner-image"{{hasPosition}}... style="max-width:{{maxWidth}}px"

Because of the missing space, the XOWA HTML attribute parser would not pick up the preceding class attribute

Fixed in the commit below

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
A <div> in D
  
Done
Development

No branches or pull requests

1 participant