diff --git a/src/Calculator/Resources/en-US/Resources.resw b/src/Calculator/Resources/en-US/Resources.resw index e19f73a9e..920474792 100644 --- a/src/Calculator/Resources/en-US/Resources.resw +++ b/src/Calculator/Resources/en-US/Resources.resw @@ -3912,15 +3912,15 @@ Used on the dismiss button of the share action error dialog. - Look what I graphed. + Look what I graphed with Windows Calculator Sent as part of the shared content. The title for the share. - Equations: + Equations Header that appears over the equations section when sharing - Variables: + Variables Header that appears over the variables section when sharing diff --git a/src/Calculator/Views/GraphingCalculator/GraphingCalculator.xaml.cpp b/src/Calculator/Views/GraphingCalculator/GraphingCalculator.xaml.cpp index 137c67646..8bd4fb46c 100644 --- a/src/Calculator/Views/GraphingCalculator/GraphingCalculator.xaml.cpp +++ b/src/Calculator/Views/GraphingCalculator/GraphingCalculator.xaml.cpp @@ -218,7 +218,7 @@ void GraphingCalculator::OnDataRequested(DataTransferManager ^ sender, DataReque equationHtml << L""; equationHtml << resourceLoader->GetString(L"EquationsShareHeader")->Data(); equationHtml << L""; - equationHtml << L""; + equationHtml << L"
"; for (auto equation : equations) { @@ -237,8 +237,8 @@ void GraphingCalculator::OnDataRequested(DataTransferManager ^ sender, DataReque equationColorHtml << L"color:rgb(" << color.R.ToString()->Data() << L"," << color.G.ToString()->Data() << L"," << color.B.ToString()->Data() << L");"; - equationHtml << L""; } @@ -256,9 +256,9 @@ void GraphingCalculator::OnDataRequested(DataTransferManager ^ sender, DataReque { auto localizedSeperator = LocalizationSettings::GetInstance().GetListSeparator() + L" "; - rawHtml << L""; + rawHtml << L"
"; rawHtml << resourceLoader->GetString(L"VariablesShareHeader")->Data(); - rawHtml << L"
"; + rawHtml << L"
"; for (unsigned i = 0; i < variables->Size; i++) { @@ -277,7 +277,7 @@ void GraphingCalculator::OnDataRequested(DataTransferManager ^ sender, DataReque } } - rawHtml << L""; + rawHtml << L"
"; } rawHtml << L"

";
"; + equationHtml << L"
"; equationHtml << EscapeHtmlSpecialCharacters(expression)->Data(); equationHtml << L"