drupal_core_release
drupal_core_release copied to clipboard
Handle special characters in changelog
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.