<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>On 13/03/2025 10:22 pm, Mariano Montone wrote:</p>
    <blockquote type="cite"
      cite="mid:ffe4d003-538b-4bf5-a335-07988ce71e1e@gmail.com">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <div class="moz-cite-prefix">El 13/3/25 a las 17:58, H. Hirzel
        escribió:<br>
      </div>
      <blockquote type="cite"
        cite="mid:62c35503-c2b0-4981-9a48-76a818ec8a4c@gmail.com">
        <p><b>Program listing code can not be selected and copied.</b></p>
        <p>The Docbook XML snippet<br>
        </p>
        <p><programlisting><br>
          pandoc -f markdown -t docbook MyDocBookTest1.md -o
          MyDocBookTest1.xml<br>
          </programlisting></p>
        <p>is rendered in a way that the code content can not be used
          without retyping it. <br>
        </p>
      </blockquote>
      Actually, it can be copied. It is visual effect problem, the
      selection highlighting not taking precedence over the text
      background color. If you make the selection gesture with the
      mouse, then right click and copy, it works.<br>
    </blockquote>
    I also tried it and it works indeed. However without proper visual
    feedback it feels broken and gives the impression that it does not
    work.<br>
    <blockquote type="cite"
      cite="mid:ffe4d003-538b-4bf5-a335-07988ce71e1e@gmail.com">
      <blockquote type="cite"
        cite="mid:62c35503-c2b0-4981-9a48-76a818ec8a4c@gmail.com">
        <p> </p>
        <p>1. A first solution would be to just set the attribute that
          the text an be selected.</p>
        <p>2. A better solution would be to have a 'copy' button which
          copies the content to the clipboard.</p>
      </blockquote>
      <p>I've added this button.</p>
    </blockquote>
    <p>Thank you. The button works fine. This is a great addition!
<a class="moz-txt-link-freetext" href="https://github.com/Cuis-Smalltalk/Erudite/commit/a8d333ca4cc949ef976b5914ce61abc23bcb8d2e">https://github.com/Cuis-Smalltalk/Erudite/commit/a8d333ca4cc949ef976b5914ce61abc23bcb8d2e</a><br>
    </p>
    --Hannes<br>
  </body>
</html>