Skip to content

Commit

Permalink
v0.6.8 Bugfix - overaggressive stripping
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinPacker committed Mar 8, 2024
1 parent 746ed90 commit 93825fe
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 12 deletions.
17 changes: 9 additions & 8 deletions changelog.log
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@

mdpre Markdown Preprocessor v0.6.7 (17 December, 2023)
======================================================
mdpre Markdown Preprocessor v0.6.8 (8 March, 2024)
==================================================
- opened <stdout> for writing
Def mdpre_date = 17 December, 2023
Def mdpre_level = 0.6.7
Def mdpre_date = 8 March, 2024
Def mdpre_level = 0.6.8
Def userid = martinpacker
Def time = 13&colon;51
Def date = 17 December&comma; 2023
Def time = 15&colon;30
Def date = 8 March&comma; 2024
This Is The Change Log For mdpre Markdown Preprocessor
Table Of Contents - spec '2 2 Releases'
2 2 Releases
..... ..... v0.6.8 - 8 March, 2024
..... ..... v0.6.7 - 17 December, 2023
..... ..... v0.6.6 - 30 November, 2023
..... ..... v0.6.5 - 17 February, 2023
Expand All @@ -31,7 +32,7 @@ Table Of Contents - spec '2 2 Releases'
..... ..... v0.2 - 26 March, 2018
..... ..... v0.1 - 17 March, 2018
..... ..... v0.0 - 12 March, 2018
------------------------------------------------------
--------------------------------------------------
- Processing completed.
------------------------------------------------------
--------------------------------------------------

8 changes: 7 additions & 1 deletion changelog.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
# This Is The Change Log For mdpre Markdown Preprocessor

=toc 2 2 Releases
### Releases




### v0.6.8 - 8 March, 2024

* **FIXED** The only thing that should be stripped off a line in the main loop is the newline

### v0.6.7 - 17 December, 2023

* **ENHANCED** Any line beginning with `<br/>` is concatenated to the previous line.
Expand Down
5 changes: 5 additions & 0 deletions changelog.mdp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@
=toc 2 2 Releases



### v0.6.8 - 8 March, 2024

* **FIXED** The only thing that should be stripped off a line in the main loop is the newline

### v0.6.7 - 17 December, 2023

* **ENHANCED** Any line beginning with `<br/>` is concatenated to the previous line.
Expand Down
6 changes: 3 additions & 3 deletions mdpre
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ from enum import Enum
import calendar


mdpre_level = "0.6.7"
mdpre_date = "17 December, 2023"
mdpre_level = "0.6.8"
mdpre_date = "8 March, 2024"
banner = "mdpre Markdown Preprocessor v" + mdpre_level + " (" + mdpre_date + ")"

log = partial(print, file=sys.stderr) # | create log to stderr
Expand Down Expand Up @@ -1457,7 +1457,7 @@ in_cal = False


for line in input_file:
line = line.rstrip()
line = line.rstrip("\n")
if line.startswith("<!--mdpre-"):
# For verbose mode writing to stderr
handle_verbose(line)
Expand Down

0 comments on commit 93825fe

Please sign in to comment.