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

Add ability to change the default base tag in documents #112

Merged
merged 3 commits into from
Jul 21, 2020
Merged

Add ability to change the default base tag in documents #112

merged 3 commits into from
Jul 21, 2020

Conversation

aquawicket
Copy link
Contributor

Currently, RmlUi hard codes <body> as the default base tag in documents.
This change allows the user to set the default base tag when creating documents.

Added functions:

/// This will set the documents base <tag> before creation. Default = "body"
/// @param[in] tag The name of the base tag. Example: "html"
void SetDocumentsBaseTag(const String& tag);

/// Gets the name of the documents base tag.
/// @return The current documents base tag name.
const String& GetDocumentsBaseTag();

@mikke89
Copy link
Owner

mikke89 commented Jul 21, 2020

Thank you!

@mikke89 mikke89 closed this Jul 21, 2020
@mikke89 mikke89 reopened this Jul 21, 2020
@mikke89 mikke89 merged commit 53924dd into mikke89:master Jul 21, 2020
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