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

address issue with Glimma plots not appearing #99

Open
wants to merge 3 commits into
base: devel
Choose a base branch
from

Conversation

grimbough
Copy link
Collaborator

This addresses #97

The issue is that the process_tables() function adds the tag <div class='horizontal-scroll'> before any instances of <table>. This inadvertantly breaks the Javascript that Glimma inserts into the page, by including some unexpected quotes. Even if we change the quote type, adding this extra div is almost certainly not correct.

This patch means the additional div is only inserted around <table> tags that are part of the HTML body and not in the head.

Copy link
Collaborator

@aoles aoles left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot Mike @grimbough for providing the fix, and let me apologize for not getting back to you earlier 😇

Please consider resolving the conflicts in DESCRIPTION and NEWS files, and my inline comment. Once these are addressed I'm happy to merge 🚀

R/html_document.R Outdated Show resolved Hide resolved
Merge branch 'devel' of git.bioconductor.org:packages/BiocStyle into glimma-plots

# Conflicts:
#	DESCRIPTION
#	NEWS
@grimbough
Copy link
Collaborator Author

Hi @aoles

Sorry, I forgot about this before the release. I think I've made the appropriate changes for it do go into the current devel.

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

Successfully merging this pull request may close these issues.

2 participants