<?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: Problem with Entering Code Sample in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Problem-with-Entering-Code-Sample/m-p/24733#M734</link>
    <description>&lt;P&gt;Yes, this is a known issue with the preview pane; it has been filed with the Splunk Answers team and a fix is in progress.&lt;/P&gt;</description>
    <pubDate>Fri, 13 Sep 2013 18:56:41 GMT</pubDate>
    <dc:creator>ChrisG</dc:creator>
    <dc:date>2013-09-13T18:56:41Z</dc:date>
    <item>
      <title>Problem with Entering Code Sample</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Problem-with-Entering-Code-Sample/m-p/24726#M727</link>
      <description>&lt;P&gt;I cannot get my code to paste in as a code sample (I have another question to ask!). I have copied and pasted the advanced xml into both notepad and word, but am still unable to get it showing as xml in the preview pane below. I have tried pasting it in, then highlighting it and then clicking code block. I have tried hand-typing in the &lt;PRE&gt;&lt;CODE&gt; tags and still, the code does not show as xml.&lt;/CODE&gt;&lt;/PRE&gt;&lt;/P&gt;

&lt;P&gt;I have tried both IE 7 and Firefox 14.0.1. I have flash installed. Is there something else I am missing to get the code block working correctly?&lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
Sarah&lt;/P&gt;

&lt;P&gt;Example of how code gets pasted:&lt;/P&gt;

&lt;P&gt;&lt;MODULE name="HiddenSearch"&gt;&lt;BR /&gt;
                &lt;OBJECT&gt;&lt;PARAM name="search" /&gt;&lt;BR /&gt;
                index=errvol_summary_fivemin report="1min_Counts" NOT CATEGORY="----" orig_host=$HOST$ JVM=$JVM$  APP=$APP$ LOG_PLATFORM=$LOG_PLATFORM$ DATACENTER=$DATACENTER$ CATEGORY=$CATEGORY$&lt;BR /&gt;
                PIPELINE=$PIPELINE$ | stats sum(count) AS count by APP DATACENTER JVM CATEGORY LOG_PLATFORM orig_host PIPELINE | eval host=orig_host&lt;BR /&gt;
                &lt;MODULE name="TimeRangePicker" layoutpanel="panel_row1_col1"&gt;&lt;BR /&gt;
                  &lt;PARAM name="searchWhenChanged" /&gt;True&lt;BR /&gt;
                  &lt;PARAM name="selected" /&gt;Last 15 Minutes&lt;BR /&gt;
                  &lt;MODULE name="SubmitButton"&gt;&lt;BR /&gt;
                    &lt;PARAM name="allowSoftSubmit" /&gt;True&lt;/MODULE&gt;&lt;/MODULE&gt;&lt;/OBJECT&gt;&lt;/MODULE&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 12:11:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Problem-with-Entering-Code-Sample/m-p/24726#M727</guid>
      <dc:creator>SarahWKarvenz</dc:creator>
      <dc:date>2020-09-28T12:11:31Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Entering Code Sample</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Problem-with-Entering-Code-Sample/m-p/24727#M728</link>
      <description>&lt;P&gt;Apparently it seems to be an issue with my preview window? Since the code now shows in my post correctly, but did not show in my preview pane correctly?&lt;/P&gt;</description>
      <pubDate>Thu, 02 Aug 2012 22:39:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Problem-with-Entering-Code-Sample/m-p/24727#M728</guid>
      <dc:creator>SarahWKarvenz</dc:creator>
      <dc:date>2012-08-02T22:39:52Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Entering Code Sample</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Problem-with-Entering-Code-Sample/m-p/24728#M729</link>
      <description>&lt;P&gt;In the formatting toolbar where you enter your question, click the button that says:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;101
010
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;and paste your code there.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Aug 2012 22:44:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Problem-with-Entering-Code-Sample/m-p/24728#M729</guid>
      <dc:creator>ChrisG</dc:creator>
      <dc:date>2012-08-02T22:44:28Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Entering Code Sample</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Problem-with-Entering-Code-Sample/m-p/24729#M730</link>
      <description>&lt;P&gt;You are correct. I am currently seeing a problem with the preview window.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Aug 2012 22:59:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Problem-with-Entering-Code-Sample/m-p/24729#M730</guid>
      <dc:creator>gkanapathy</dc:creator>
      <dc:date>2012-08-02T22:59:10Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Entering Code Sample</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Problem-with-Entering-Code-Sample/m-p/24730#M731</link>
      <description>&lt;P&gt;I am still seeing the same problem with the preview window (Jan 2013)&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jan 2013 22:29:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Problem-with-Entering-Code-Sample/m-p/24730#M731</guid>
      <dc:creator>lukeh</dc:creator>
      <dc:date>2013-01-16T22:29:12Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Entering Code Sample</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Problem-with-Entering-Code-Sample/m-p/24731#M732</link>
      <description>&lt;P&gt;Even then the preview window doesn't show it right.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Sep 2013 18:46:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Problem-with-Entering-Code-Sample/m-p/24731#M732</guid>
      <dc:creator>anwarmian</dc:creator>
      <dc:date>2013-09-13T18:46:55Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Entering Code Sample</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Problem-with-Entering-Code-Sample/m-p/24732#M733</link>
      <description>&lt;P&gt;this does appear to be a bug with the preview window&lt;/P&gt;</description>
      <pubDate>Fri, 13 Sep 2013 18:52:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Problem-with-Entering-Code-Sample/m-p/24732#M733</guid>
      <dc:creator>gkanapathy</dc:creator>
      <dc:date>2013-09-13T18:52:54Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Entering Code Sample</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Problem-with-Entering-Code-Sample/m-p/24733#M734</link>
      <description>&lt;P&gt;Yes, this is a known issue with the preview pane; it has been filed with the Splunk Answers team and a fix is in progress.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Sep 2013 18:56:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Problem-with-Entering-Code-Sample/m-p/24733#M734</guid>
      <dc:creator>ChrisG</dc:creator>
      <dc:date>2013-09-13T18:56:41Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Entering Code Sample</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Problem-with-Entering-Code-Sample/m-p/24734#M735</link>
      <description>&lt;P&gt;hi SarawWKarvenz,&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; is a little script that will do exactly what you want.&lt;/P&gt;

&lt;PRE&gt;
:-)
&lt;/PRE&gt;

&lt;P&gt;cheers,&lt;BR /&gt;&lt;BR /&gt;
V&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2013 00:58:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Problem-with-Entering-Code-Sample/m-p/24734#M735</guid>
      <dc:creator>V_at_Splunk</dc:creator>
      <dc:date>2013-11-15T00:58:41Z</dc:date>
    </item>
  </channel>
</rss>

