The Battle for Wesnoth  1.19.5+dev
Namespaces | Functions
markup.cpp File Reference
#include "game_config.hpp"
#include "gettext.hpp"
#include "serialization/markup.hpp"
#include "serialization/unicode_cast.hpp"
Include dependency graph for markup.cpp:

Go to the source code of this file.

Namespaces

 markup
 

Functions

std::string markup::make_link (const std::string &text, const std::string &dst)
 
std::string markup::img (const std::string &src, const std::string &align, const bool floating)
 
static config markup::parse_entity (std::string::const_iterator &beg, std::string::const_iterator end)
 
static char markup::parse_escape (std::string::const_iterator &beg, std::string::const_iterator end)
 
static config markup::parse_text_until (std::string::const_iterator &beg, std::string::const_iterator end, char close)
 
static std::string markup::parse_name (std::string::const_iterator &beg, std::string::const_iterator end)
 
static std::pair< std::string, std::string > markup::parse_attribute (std::string::const_iterator &beg, std::string::const_iterator end, bool allow_empty)
 
static void markup::check_closing_tag (std::string::const_iterator &beg, std::string::const_iterator end, std::string_view match)
 
static std::pair< std::string, configmarkup::parse_tag (std::string::const_iterator &beg, std::string::const_iterator end)
 
static config markup::parse_tag_contents (std::string::const_iterator &beg, std::string::const_iterator end, std::string_view match, bool check_for_attributes)
 
config markup::parse_text (const std::string &text)
 Parse a xml style marked up text string. More...