prevent getting data from data-tooltip-content tippyjs
To prevent getting data from data-tooltip-content
using C++, you can follow these steps:
Use the
std::string
class to store the HTML content that you want to parse.Utilize the
std::string
member functionfind
to search for thedata-tooltip-content
attribute within the HTML content.If the
data-tooltip-content
attribute is found, use thestd::string
member functionerase
to remove the data associated with it from the HTML content.After removing the data, you can proceed with using the sanitized HTML content for your desired purpose.