{version.description}
+ )} + +- Add this repository to your project to install - packages from this organization: -
-
- {composerRepoCommand}
-
- Registry URL
++ Run this once per project to register{' '} + {organization.name} as a Composer repository. +
+
+ {composerRepoCommand}
+
+ ');
+});
+
+it('renders GFM tables', function () {
+ $html = $this->renderer->render(<<<'MD'
+| A | B |
+|---|---|
+| 1 | 2 |
+MD);
+
+ expect($html)
+ ->toContain('')
+ ->toContain('A ')
+ ->toContain('1 ');
+});
+
+it('escapes inline HTML to prevent XSS', function () {
+ $html = $this->renderer->render('Hello ');
+
+ expect($html)
+ ->not->toContain('