We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4544359 commit 6d16b5fCopy full SHA for 6d16b5f
tests/Unit/Concerns/RendersBladeGuidelinesTest.php
@@ -145,6 +145,19 @@ public function getStoredSnippets(): array
145
->not->toContain('"');
146
});
147
148
+test('all common html entities are decoded', function (): void {
149
+ $this->mock(GuidelineAssist::class);
150
+
151
+ $content = 'Use {{ "a < b & c > d" }}';
152
153
+ $result = $this->renderer->render($content, '/path/to/guide.blade.php');
154
155
+ expect($result)->toContain('a < b & c > d')
156
+ ->not->toContain('<')
157
+ ->not->toContain('&')
158
+ ->not->toContain('>');
159
+});
160
161
test('renderBladeFile returns empty string for non-existent file', function (): void {
162
$result = $this->renderer->renderFile('/non/existent/guideline.blade.php');
163
0 commit comments