Merge pull request #46 from progsource/version-1.2.1

chore: update version to 1.2.1
This commit is contained in:
Petra Baranski
2023-08-06 13:35:51 +02:00
committed by GitHub
4 changed files with 11 additions and 3 deletions

View File

@@ -14,7 +14,11 @@ maddy uses [semver versioning](https://semver.org/).
## Upcoming ## Upcoming
* ![**FIXED**](https://img.shields.io/badge/-FIXED-%23090) Parser.h version() method clashing with VERSION defines at global scope * ?
## 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

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;