Answers.Body: <p>Have put up a potential fix at <a href="https://github.com/civicrm/civicrm-core/pull/31572/files" rel="nofollow noreferrer">https://github.com/civicrm/civicrm-core/pull/31572/files</a>. It's just a one-line change in CRM/Case/BAO/Case.php line 1425. Change</p>
  <p><code>$activityParams['details'] = $message;</code></p>
  <p>to</p>
  <p><code>$activityParams['details'] = $html;</code></p>
  <p>This causes it to file html instead of text, but that seemed preferable anyway.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-12-19T04:29:25.613Z
Answers.Text: @david Can you comment on the PR that it fixes it? It will help get it merged.
Answers.UserDisplayName: Demerit
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-12-04T19:07:50.817Z
Answers.LastActivityDate: 2024-12-04T19:07:50.817Z
Answers.UserDisplayName: Demerit
Body: <p>When sending email notification based on activity type, the copy activity does not save or have a &quot;details&quot;/Notes value. Before, it was automatically generated. It would have something like this. I think it is based on the HTML Content of the template, but just automatically converted or similar.</p>
  <pre><code>===========================================================
  Activity Summary - ...
  ===========================================================
  </code></pre>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2024-12-03T16:55:51.553Z
Comments.Text: Appears to have stopped working some time after 5.65 but before 5.74. Have made a lab ticket: https://lab.civicrm.org/dev/core/-/issues/5629
Comments.UserDisplayName: Demerit
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2024-12-04T04:09:36.707Z
Comments.Text: @Demerit Thank you!
Comments.UserDisplayName: david
Tags: <activities><message-templates>
Title: Case - Send Copy of an Activity template not auto generating Text version for copy activity details
ThreadText: # Case - Send Copy of an Activity template not auto generating Text version for copy activity details
  
  (Asked by: username_0 on 2024-12-03)
  
  When sending email notification based on activity type, the copy activity does not save or have a "details"/Notes value. Before, it was automatically generated. It would have something like this. I think it is based on the HTML Content of the template, but just automatically converted or similar.
  
  ```
  ===========================================================
  Activity Summary - ...
  ===========================================================
  
  ```
  
  **Tags:** activities, message-templates
  
  > **Comments:**
  > **username_1**: Appears to have stopped working some time after 5.65 but before 5.74. Have made a lab ticket: https://lab.civicrm.org/dev/core/-/issues/5629  
  > **username_0**: @username_1 Thank you!  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2024-12-04. Score: 0 | Accepted answer
  
  Have put up a potential fix at <https://github.com/civicrm/civicrm-core/pull/31572/files>. It's just a one-line change in CRM/Case/BAO/Case.php line 1425. Change
  
  `$activityParams['details'] = $message;`
  
  to
  
  `$activityParams['details'] = $html;`
  
  This causes it to file html instead of text, but that seemed preferable anyway.
  
  > **Comments:**
  > **username_1**: @username_0 Can you comment on the PR that it fixes it? It will help get it merged.  
  
  ---
  
  