Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

comment on

( [id://3333] : superdoc . print w/replies, xml ) Need Help??
  1. Because the easiest "solution" was to just add "readmore" to the list of approved HTML tags.
  2. Because this node contains <!-- readmore --> (here:) but contains no <readmore> tag.
  3. Because eventually we should provide a better solution that offers links like
    • "read less" (redisplay this node but with READMORE bits hidden)
    • "read more" (default thread display)
    • "read all" (redisplay this thread with all READMORE bits shown for all replies)
    • "hide replies" or otherwise adjust the replies depth to display
    • etc.
    and (we hope) have "read less" only appear if there is a <readmore> hiding in the current node.
  4. Because our nodes are rarely "valid" so only crazy people try to have them validate and a tool called "HTML Tidy" shouldn't require you to tidy up the HTML before you give it to it. q-:
We also should eventually have a [ ] readless option during Preview.

                - tye

In reply to Re: Readmore in source (reasons) by tye
in thread XML-style readmore not being parsed by premchai21

Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":

  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.