mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-07-28 17:02:04 +03:00
Input WYSIWYG: Updated tests, Added simple html limiting
This commit is contained in:
@ -21,10 +21,12 @@ class ChapterFactory extends Factory
|
||||
*/
|
||||
public function definition()
|
||||
{
|
||||
$description = $this->faker->paragraph();
|
||||
return [
|
||||
'name' => $this->faker->sentence(),
|
||||
'slug' => Str::random(10),
|
||||
'description' => $this->faker->paragraph(),
|
||||
'description' => $description,
|
||||
'description_html' => '<p>' . e($description) . '</p>'
|
||||
];
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user