miroir de
https://github.com/quitesimpleorg/qsmaddy.git
synchronisé 2024-11-21 15:17:52 +01:00
make Parser::Parse accept istreams instead of stringstream
Cette révision appartient à :
Parent
19338d2b56
révision
71ee49d1ea
2
AUTHORS
2
AUTHORS
@ -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)
|
||||
|
@ -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;
|
||||
|
Chargement…
Référencer dans un nouveau ticket
Block a user