[editor] Check OSM max char length in value validation

Signed-off-by: map-per <map-per@gmx.de>
This commit is contained in:
map-per
2025-12-07 13:01:03 +01:00
committed by map-per
parent f20c3bf50c
commit f1cf844986
5 changed files with 47 additions and 7 deletions

View File

@@ -6,6 +6,8 @@
namespace osm
{
static int constexpr kMaximumOsmChars = 255;
std::string ValidateAndFormat_website(std::string const & v);
std::string ValidateAndFormat_facebook(std::string const & v);
std::string ValidateAndFormat_instagram(std::string const & v);