-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #51 from gjsify/update-types-v47
Adapt typings for Gnome 47 release
- Loading branch information
Showing
4 changed files
with
29 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
/** | ||
* Fix up embedded markup so that it can be displayed correctly in | ||
* UI elements such as the message list. In some cases, we might want to | ||
* keep some of the embedded markup, so specify allowMarkup for that case | ||
* | ||
* @version 47 | ||
* | ||
* @param {string} text containing markup to escape and parse | ||
* @param {boolean} allowMarkup to allow embedded markup or just escape it all | ||
* @returns the escaped string | ||
*/ | ||
export function fixMarkup(text: string, allowMarkup?: boolean): string; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters