You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-28 15:22:05 +03:00
Refactor matrix-linkify module (#7279)
Refactor the module to make it easier for upgrade and proper separation of code contexts
This commit is contained in:
@ -13,14 +13,8 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
*/
|
||||
import * as linkifyjs from 'linkifyjs';
|
||||
import Markdown from "../src/Markdown";
|
||||
import matrixLinkify from '../src/linkify-matrix';
|
||||
|
||||
beforeAll(() => {
|
||||
// We need to call linkifier plugins before running those tests
|
||||
matrixLinkify(linkifyjs);
|
||||
});
|
||||
import Markdown from "../src/Markdown";
|
||||
|
||||
describe("Markdown parser test", () => {
|
||||
describe("fixing HTML links", () => {
|
||||
|
Reference in New Issue
Block a user