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

br tag disappears from inside pre tags #36

Open
bunglegrind opened this issue Mar 3, 2020 · 2 comments
Open

br tag disappears from inside pre tags #36

bunglegrind opened this issue Mar 3, 2020 · 2 comments
Assignees
Labels

Comments

@bunglegrind
Copy link

I'm trying to convert the Wordpress Plugin Handbook in epub.

I'm noticing several issues, I'm currently investigating on the causes.

I set a custom style with the following rules:

#wpadminbar {
    display:none;
}
#wporg-header {
    display:none;
}
header {
    display:none;
}
#secondary {
    display:none;
}
#wporg-footer {
    display:none;
}
.breadcrumbs {
    display:none;
}
.nav-links {
    display:none;
}
.table-of-contents {
    display:none;
}
.toc-jump {
    display:none;
}
#content {
    max-width:100%!important;
}
.screen-reader-text {
    display:none;
}

But if I convert this page:

https://developer.wordpress.org/plugins/plugin-basics/determining-plugin-and-content-directories/

the br inside the pre tags are removed showing all the content in the same line...

@alexadam alexadam self-assigned this Mar 6, 2020
@alexadam alexadam added the bug label Mar 6, 2020
@alexadam
Copy link
Owner

alexadam commented Mar 6, 2020

this issue should be fixed in the next release (probably next week). You can try it now by manually installing the ext. from the repository.

@bunglegrind
Copy link
Author

Yep! It works! Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants