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

render tables in motd markdown broken in 3.1 #3679

Closed
stdweird opened this issue Jul 18, 2024 · 2 comments
Closed

render tables in motd markdown broken in 3.1 #3679

stdweird opened this issue Jul 18, 2024 · 2 comments
Milestone

Comments

@stdweird
Copy link

With ondemand 2.0, we were able to render markdown tables in the motd.
After the upgrade to 3.1, this is now broken.

Quick glance at the ood_core configuration has tables: true, so not sure why this is not working.

On a side note: how can i run a ruby script using the whole ondemand gems setup, so i can test redcarpet directly?

@osc-bot osc-bot added this to the Backlog milestone Jul 18, 2024
@johrstrom
Copy link
Contributor

I'll take a look at replicating. You may need to set motd_render_html here, though I don't know for sure without looking yet.

https://osc.github.io/ood-documentation/latest/reference/files/ondemand-d-ymls.html?highlight=motd_render_html

On a side note: how can i run a ruby script using the whole ondemand gems setup, so i can test redcarpet directly?

You can source this file - /opt/ood/ondemand/enable and it'll set the appropriate environment variables.

@stdweird
Copy link
Author

@johrstrom thanks, this is indeed the issue.
perhaps a small warning/error in the logs that certain MOTD formatters are not working properly when the setting is false?

anyway, i'm closing this issue

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

No branches or pull requests

3 participants