Skip to content

Commit

Permalink
Strip Trailing New Line(s)
Browse files Browse the repository at this point in the history
  • Loading branch information
taufik-nurrohman committed Aug 27, 2021
1 parent 831aa39 commit 13b4e06
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ Release Notes

### 1.0.0

- Initial release.
- Initial release.
2 changes: 1 addition & 1 deletion route/about.page
Original file line number Diff line number Diff line change
Expand Up @@ -86,4 +86,4 @@ Therefore you will be able to use that route as the form action in the HTML form
</p>
<input name="token" type="hidden" value="<?= token('contact'); ?>">
</form>
~~~
~~~
2 changes: 1 addition & 1 deletion route/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ function route($id) {
}
}

\Route::set(\trim($state->x->route->path ?? '/route', '/') . '/*', __NAMESPACE__ . "\\route", 0);
\Route::set(\trim($state->x->route->path ?? '/route', '/') . '/*', __NAMESPACE__ . "\\route", 0);
2 changes: 1 addition & 1 deletion route/index/panel.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

if (isset($_['lot']['bar']['lot'][0]['lot']['folder']['lot']['route'])) {
$_['lot']['bar']['lot'][0]['lot']['folder']['lot']['route']['icon'] = 'M11,10H5L3,8L5,6H11V3L12,2L13,3V4H19L21,6L19,8H13V10H19L21,12L19,14H13V20A2,2 0 0,1 15,22H9A2,2 0 0,1 11,20V10Z';
}
}
2 changes: 1 addition & 1 deletion route/state.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<?php

return ['path' => '/route'];
return ['path' => '/route'];

0 comments on commit 13b4e06

Please sign in to comment.