<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Why does &amp;quot;Ask a Question&amp;quot; page merge some lines? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Why-does-quot-Ask-a-Question-quot-page-merge-some-lines/m-p/84650#M21581</link>
    <description>&lt;P&gt;The answers site editor lets you tell it things are "code" by indenting them with 4 spaces.  Text marked up as code gets formatted with a fixed-width font and with the line breaks you intended.&lt;/P&gt;

&lt;P&gt;The easiest way to do this is to paste your stuff in, highlight it, and press the "code" button on the editing button bar.  The "code" button is the 5th button from the left and looks like a string of 1's and 0's.  Below is an example of how it formats 'code':&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[foo]
hi there
blah
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;It's not uncommon for a moderator to come by and edit your text for formatting if you've pasted in config snippets that have gotten garbled.  But, you are absolutely correct that an easy to read question makes folks more likely to answer.&lt;/P&gt;</description>
    <pubDate>Fri, 05 Nov 2010 17:32:19 GMT</pubDate>
    <dc:creator>dwaddle</dc:creator>
    <dc:date>2010-11-05T17:32:19Z</dc:date>
    <item>
      <title>Why does "Ask a Question" page merge some lines?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-does-quot-Ask-a-Question-quot-page-merge-some-lines/m-p/84649#M21580</link>
      <description>&lt;P&gt;I had a perfectly coherent question but when I clicked the "Ask Your Question" button, I saw that the most important text of the body, the stuff that was from inside the *.conf files, had been reformatted and all lines merged!  Why did it do that?  How can I prevent it?  My simple question now looks like barf and I am sure nobody will bother answering it, all because of a lame web-engine setting!&lt;/P&gt;

&lt;P&gt;See barf here:
&lt;A href="http://answers.splunk.com/questions/8740/can-fieldalias-be-used-without-extract-i-e-on-fields-created-by-delims-in-trans" rel="nofollow"&gt;http://answers.splunk.com/questions/8740/can-fieldalias-be-used-without-extract-i-e-on-fields-created-by-delims-in-trans&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Nov 2010 13:29:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-does-quot-Ask-a-Question-quot-page-merge-some-lines/m-p/84649#M21580</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2010-11-05T13:29:51Z</dc:date>
    </item>
    <item>
      <title>Re: Why does "Ask a Question" page merge some lines?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-does-quot-Ask-a-Question-quot-page-merge-some-lines/m-p/84650#M21581</link>
      <description>&lt;P&gt;The answers site editor lets you tell it things are "code" by indenting them with 4 spaces.  Text marked up as code gets formatted with a fixed-width font and with the line breaks you intended.&lt;/P&gt;

&lt;P&gt;The easiest way to do this is to paste your stuff in, highlight it, and press the "code" button on the editing button bar.  The "code" button is the 5th button from the left and looks like a string of 1's and 0's.  Below is an example of how it formats 'code':&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[foo]
hi there
blah
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;It's not uncommon for a moderator to come by and edit your text for formatting if you've pasted in config snippets that have gotten garbled.  But, you are absolutely correct that an easy to read question makes folks more likely to answer.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Nov 2010 17:32:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-does-quot-Ask-a-Question-quot-page-merge-some-lines/m-p/84650#M21581</guid>
      <dc:creator>dwaddle</dc:creator>
      <dc:date>2010-11-05T17:32:19Z</dc:date>
    </item>
    <item>
      <title>Re: Why does "Ask a Question" page merge some lines?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-does-quot-Ask-a-Question-quot-page-merge-some-lines/m-p/84651#M21582</link>
      <description>&lt;P&gt;I had the same problem. But not knowing about the code button, or four spaces, I use the HTML &amp;lt;pre&amp;gt; tag to format my data such as: &lt;/P&gt;

&lt;PRE&gt;
&amp;lt;pre&amp;gt;
Item 1
Item 2
Item 3
&amp;lt;/pre&amp;gt;
&lt;/PRE&gt;

&lt;P&gt;It works like a charm.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Nov 2010 22:24:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-does-quot-Ask-a-Question-quot-page-merge-some-lines/m-p/84651#M21582</guid>
      <dc:creator>kmattern</dc:creator>
      <dc:date>2010-11-05T22:24:15Z</dc:date>
    </item>
    <item>
      <title>Re: Why does "Ask a Question" page merge some lines?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-does-quot-Ask-a-Question-quot-page-merge-some-lines/m-p/84652#M21583</link>
      <description>&lt;P&gt;hi woodcock,&lt;/P&gt;

&lt;P&gt;The simple answer is, MarkDown [the wiki engine on this site] tries to "help" you by collapsing whitespace.&lt;/P&gt;

&lt;P&gt;&lt;A href="http://answers.splunk.com/answers/111164/how-can-i-upload-code-to-answers-without-markdown-mangling-it-by-using-this-script-thats-how"&gt;This&lt;/A&gt; little script that will help you out, by re-formatting your code snippet for mangle-free posting.&lt;BR /&gt;
&lt;PRE&gt;&lt;BR /&gt;
:-)&lt;BR /&gt;
&lt;/PRE&gt;&lt;BR /&gt;
cheers,&lt;BR /&gt;&lt;BR /&gt;
V&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2013 01:07:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-does-quot-Ask-a-Question-quot-page-merge-some-lines/m-p/84652#M21583</guid>
      <dc:creator>V_at_Splunk</dc:creator>
      <dc:date>2013-11-15T01:07:34Z</dc:date>
    </item>
  </channel>
</rss>

