drupal_core_release icon indicating copy to clipboard operation
drupal_core_release copied to clipboard

Handle special characters in changelog

Open quietone1 opened this issue 2 years ago • 0 comments

Added a function that returns the change log without interpreting backslashes in the git output as escape sequences. In the function the git output only formats each line with <li> and </li> and the output is captured in array. Then, it simply loops through the array to build the desired output in a temp file.

The formatted log is put into the existing variable $notes so now echo "$notes" displays the output correctly.

This is not tested with pbcopy.

quietone1 avatar Aug 29 '22 05:08 quietone1