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

[IMP] runbot: add support for attributes on md url #1034

Open
wants to merge 1 commit into
base: 18.0
Choose a base branch
from

Conversation

Williambraecky
Copy link
Contributor

Adds support for attributes on our markdown implementation, mainly to add support for target="_blank" on urls.
This can be used to change the behavior of links when we want to differentiate between navigation and information.

@Williambraecky Williambraecky force-pushed the 18.0-md-link-attributes-wbr branch 2 times, most recently from e46db93 to f866777 Compare January 13, 2025 14:23
@Williambraecky Williambraecky marked this pull request as ready for review January 14, 2025 09:53
@C3POdoo C3POdoo requested a review from a team January 14, 2025 09:53
)

# Invalid input
with mute_logger('odoo.addons.runbot.common'):
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
with mute_logger('odoo.addons.runbot.common'):
with self.assertLogs(level='WARNING'):

while at it, why not assert that the warning was triggered

Adds support for attributes on our markdown implementation, mainly to
add support for target="_blank" on urls.
This can be used to change the behavior of links when we want to
differentiate between navigation and information.
@Williambraecky Williambraecky force-pushed the 18.0-md-link-attributes-wbr branch from f866777 to dd988e0 Compare January 15, 2025 15:12
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