1
0
spogulis no https://github.com/quitesimpleorg/qsmaddy.git synced 2024-11-25 08:42:36 +01:00

Merge pull request #30 from eklitzke/istream

make Parser::Parse accept istreams instead of stringstream
Šī revīzija ir iekļauta:
Petra Baranski 2020-10-04 18:21:25 +02:00 revīziju iesūtīja GitHub
revīzija 5b2f20041c
Šim parakstam datu bāzē netika atrasta zināma atslēga
GPG atslēgas ID: 4AEE18F83AFDEB23
2 mainīti faili ar 3 papildinājumiem un 3 dzēšanām

Parādīt failu

@ -7,4 +7,4 @@ a license to everyone to use it as detailed in LICENSE.)
M. Petra Baranski (info@progsource.de)
Patrick José Pereira (patrickelectric@gmail.com)
Martin Kopecky (martin.kopecky357@gmail.com)
Evan Klitzke (evan@eklitzke.org)

Parādīt failu

@ -73,11 +73,11 @@ public:
* Parse
*
* @method
* @param {const std::stringstream&} markdown
* @param {const std::istream&} markdown
* @return {std::string} HTML
*/
std::string
Parse(std::stringstream& markdown) const
Parse(std::istream& markdown) const
{
std::string result = "";
std::shared_ptr<BlockParser> currentBlockParser = nullptr;