<commit_before>#include "pch.h"
#include "jnc_ct_DoxyMgr.h"
#include "jnc_ct_Module.h"

namespace jnc {
namespace ct {

//.............................................................................

sl::String
DoxyBlock::createDoxyDescriptionString ()
{
	sl::String string;

	if (!m_briefDescription.isEmpty ())
	{
		string.append ("<briefdescription><para>\n");
		string.append (m_briefDescription);
		string.append ("</para></briefdescription>\n");
	}

	if (!m_detailedDescription.isEmpty ())
	{
		string.append ("<detaileddescription><para>\n");
		string.append (m_detailedDescription);
		string.append ("</para></detaileddescription>\n");
	}

	return string;
}

//.............................................................................

bool<commit_msg>[jancy] trim description string before saving to xml<commit_after>#include "pch.h"
#include "jnc_ct_DoxyMgr.h"
#include "jnc_ct_Module.h"

namespace jnc {
namespace ct {

//.............................................................................

sl::String
DoxyBlock::createDoxyDescriptionString ()
{
	sl::String string;

	if (!m_briefDescription.isEmpty ())
	{
		string.append ("<briefdescription><para>");
		string.append (m_briefDescription.getTrimmedString ());
		string.append ("</para></briefdescription>\n");
	}

	if (!m_detailedDescription.isEmpty ())
	{
		string.append ("<detaileddescription><para>");
		string.append (m_detailedDescription.getTrimmedString ());
		string.append ("</para></detaileddescription>\n");
	}

	return string;
}

//.............................................................................

bool
{'fraction_non_alphanumeric': 0.3264797507788162, 'fraction_numerical': 0.0, 'mean_word_length': 2.149019607843137, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 19, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 1}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4600331', 'n_tokens_mistral': 473, 'n_tokens_neox': 451, 'n_words': 72}