5 Commits
1.2.0 ... 1.2.1

Author SHA1 Message Date
Petra Baranski
7c6e32f4b1 Merge pull request #46 from progsource/version-1.2.1
chore: update version to 1.2.1
2023-08-06 13:35:51 +02:00
Petra Baranski
231785ff2d chore: update version to 1.2.1 2023-08-06 13:31:18 +02:00
Petra Baranski
09229aae0d Merge pull request #45 from Ivansstyle/fix_version_define
Refactored version() function in Parser class due to clashes with #define VERSION in various projects
2023-08-01 18:38:12 +02:00
Ivans Saponenko
4656252374 Edit branch due to Contribution Guidelines 2023-08-01 11:42:42 +03:00
Ivans Saponenko
9bcb7ce6dd Refactored version() function in Parser class due to clashes with defines 2023-08-01 11:19:31 +03:00
5 changed files with 11 additions and 2 deletions

View File

@@ -10,3 +10,4 @@ Martin Kopecky (martin.kopecky357@gmail.com)
Andrew Mettlach (dmmettlach@gmail.com) Andrew Mettlach (dmmettlach@gmail.com)
Evan Klitzke (evan@eklitzke.org) Evan Klitzke (evan@eklitzke.org)
Albert Schwarzkopf (dev-maddy@quitesimple.org) Albert Schwarzkopf (dev-maddy@quitesimple.org)
Ivans Saponenko (ivans.saponenko+maddy@gmail.com)

View File

@@ -16,6 +16,10 @@ maddy uses [semver versioning](https://semver.org/).
* ? * ?
## version 1.2.1 2023-08-06
* ![**FIXED**](https://img.shields.io/badge/-FIXED-%23090) Parser.h version() method clashing with VERSION defines at global scope
## version 1.2.0 2023-07-27 ## version 1.2.0 2023-07-27
* ![**ADDED**](https://img.shields.io/badge/-ADDED-%23099) Added Changelog * ![**ADDED**](https://img.shields.io/badge/-ADDED-%23099) Added Changelog

View File

@@ -1,7 +1,7 @@
# maddy # maddy
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![Version: 1.2.0](https://img.shields.io/badge/Version-1.2.0-brightgreen.svg)](https://semver.org/) [![Version: 1.2.1](https://img.shields.io/badge/Version-1.2.1-brightgreen.svg)](https://semver.org/)
maddy is a C++ Markdown to HTML **header-only** parser library. maddy is a C++ Markdown to HTML **header-only** parser library.

View File

@@ -57,7 +57,7 @@ public:
* Check https://github.com/progsource/maddy/blob/master/CHANGELOG.md * Check https://github.com/progsource/maddy/blob/master/CHANGELOG.md
* for the changelog. * for the changelog.
*/ */
static const std::string VERSION() { static const std::string v = "1.2.0"; return v; } static const std::string& version() { static const std::string v = "1.2.1"; return v; }
/** /**
* ctor * ctor

View File

@@ -58,11 +58,15 @@ struct ParserConfig
{ {
/** /**
* @deprecated will be removed in 1.4.0 latest * @deprecated will be removed in 1.4.0 latest
*
* this flag = false == `enabledParsers &= ~maddy::types::EMPHASIZED_PARSER`
*/ */
bool isEmphasizedParserEnabled; bool isEmphasizedParserEnabled;
/** /**
* @deprecated will be removed in 1.4.0 latest * @deprecated will be removed in 1.4.0 latest
*
* this flag = false == `enabledParsers |= maddy::types::HTML_PARSER`
*/ */
bool isHTMLWrappedInParagraph; bool isHTMLWrappedInParagraph;