Skip to content

Commit

Permalink
1.5.6
Browse files Browse the repository at this point in the history
  • Loading branch information
secure-77 committed May 31, 2023
1 parent dafa5c6 commit 9257270
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 3 deletions.
7 changes: 6 additions & 1 deletion Changelog.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
## 1.5.6
- fixed heading references (issue #74)
- added safemode environment variable (PR #88) thanks to @NotGovernor
- added default side panel size related of screen size (issue #85)


## 1.5.5
- updated some html structure to fit the latest app.css and theme styles
- updated app.css
- removed Bootstrap dependency
- fixed heading references (issue #74)
- fixed ampersand problem in global graph (issue #47)
- added default font size environment variable (issue #80)
- added escape key function for modal close button (PR #82) thank to @stellarix
Expand Down
1 change: 1 addition & 0 deletions docker-compose-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ services:
- SHOW_TOC=true
- HOME_FILE=README
- FONT_SIZE=15
- HTML_SAFE_MODE=true
volumes:
- ./perlite:/var/www/perlite
- ./perlite/Demo:/var/www/perlite/Demo:ro
Expand Down
6 changes: 5 additions & 1 deletion perlite/.js/perlite.js
Original file line number Diff line number Diff line change
Expand Up @@ -890,10 +890,14 @@ $(document).ready(function () {
// panel sizes
if (localStorage.getItem('leftSizePanel')) {
$('.workspace-split.mod-horizontal.mod-left-split').css("width", localStorage.getItem('leftSizePanel'))
};
} else {
$('.workspace-split.mod-horizontal.mod-left-split').css("width", window.innerWidth / 6)
}

if (localStorage.getItem('rightSizePanel')) {
$('.workspace-split.mod-horizontal.mod-right-split').css("width", localStorage.getItem('rightSizePanel'))
} else {
$('.workspace-split.mod-horizontal.mod-right-split').css("width", window.innerWidth / 6)
};


Expand Down
2 changes: 1 addition & 1 deletion perlite/PerliteParsedown.php
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ protected function inlineTag($Excerpt)
if ($len == 0) {
return;
}
if (trim(substr($Excerpt['context'],-2)) === ']') {
if (substr(trim($Excerpt['context']),-1) === ']') {
return;
}

Expand Down

0 comments on commit 9257270

Please sign in to comment.