diff --git a/.travis.yml b/.travis.yml index 909e3e1f4..f03865201 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,6 +4,15 @@ language: php php: - 7.0 +addons: + apt: + packages: + - ldap-utils + - slapd + +before_install: + - echo "extension=ldap.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini + cache: directories: - $HOME/.composer/cache @@ -25,4 +34,4 @@ after_failure: - cat storage/logs/laravel.log script: - - phpunit \ No newline at end of file + - phpunit --stop-on-error --stop-on-failure diff --git a/resources/views/books/show.blade.php b/resources/views/books/show.blade.php index 0e3bd4e17..b6a9bcfba 100644 --- a/resources/views/books/show.blade.php +++ b/resources/views/books/show.blade.php @@ -56,7 +56,7 @@

{{$book->name}}

-

{{$book->description}}

+

{!! nl2br($book->description) !!}


@@ -118,7 +118,7 @@
- +

{{ trans('entities.recent_activity') }}

@include('partials/activity-list', ['activity' => Activity::entityActivity($book, 20, 0)]) @@ -127,4 +127,4 @@
-@stop \ No newline at end of file +@stop diff --git a/resources/views/chapters/show.blade.php b/resources/views/chapters/show.blade.php index 9ebd8d9c4..5b36037ca 100644 --- a/resources/views/chapters/show.blade.php +++ b/resources/views/chapters/show.blade.php @@ -52,7 +52,7 @@

{{ $chapter->name }}

-

{{ $chapter->description }}

+

{!! nl2br($chapter->description) !!}

@if(count($pages) > 0)
diff --git a/tests/Auth/LdapTest.php b/tests/Auth/LdapTest.php index 76da6286d..8880c7b65 100644 --- a/tests/Auth/LdapTest.php +++ b/tests/Auth/LdapTest.php @@ -133,4 +133,4 @@ class LdapTest extends BrowserKitTest ->dontSee('External Authentication'); } -} \ No newline at end of file +}