forked from kofal.net/zmk
chore(docs): Bump prettier, and reformat w/ it.
* Bump to prettier 2.3.1. * Re-run prettier:format to apply updated format.
This commit is contained in:
committed by
Pete Johanson
parent
22800455e2
commit
ba45aaa81b
@@ -7,7 +7,8 @@
|
||||
import React from "react";
|
||||
import PropTypes from "prop-types";
|
||||
|
||||
const specialCharactersRegex = /(?:^|\s)((?:&(?:(?:\w+)|(?:#\d+));)|[_]|[^\w\s])(?:\s*\[([^[\]]+?)\])/g;
|
||||
const specialCharactersRegex =
|
||||
/(?:^|\s)((?:&(?:(?:\w+)|(?:#\d+));)|[_]|[^\w\s])(?:\s*\[([^[\]]+?)\])/g;
|
||||
|
||||
function renderSpecialCharacters(description) {
|
||||
const matches = Array.from(description.matchAll(specialCharactersRegex));
|
||||
|
||||
Reference in New Issue
Block a user